Cocoa wrappers and helpers for RubyMotion (Ruby for iOS and OS X) - Making Cocoa APIs more Ruby like, one API at a time. Fork away and send your pull requests
Other
1.18k
stars
208
forks
source link
[query.rb] weird issue with payload with false value #261
describe "false value" do
before do
@query = BubbleWrap::HTTP::Query.new("http://www.google.com", :get, {payload: {following: false}})
end
it "should have right url" do
@query.request.URL.absoluteString.should == "http://www.google.com?following=false"
end
end
just putting this here for now while i figure out why this is happening. btw it works if you use true.
just putting this here for now while i figure out why this is happening. btw it works if you use
true
.