diff --git a/Gemfile b/Gemfile index e470c6e..bf197c9 100644 --- a/Gemfile +++ b/Gemfile @@ -11,7 +11,7 @@ group :test do gem 'json', :platforms => :ruby_18 gem 'rspec' gem 'timecop' - gem 'webmock' + gem 'webmock', '>= 1.10' end gemspec diff --git a/spec/instapaper/client/bookmark_spec.rb b/spec/instapaper/client/bookmark_spec.rb index 483dbd7..ec9b9ee 100644 --- a/spec/instapaper/client/bookmark_spec.rb +++ b/spec/instapaper/client/bookmark_spec.rb @@ -61,7 +61,7 @@ describe Instapaper::Client::Bookmark do it "should get the correct resource" do @client.add_bookmark('http://someurl.com', :title => 'This is the title', :description => 'This is the description') - a_post("bookmarks/add").with(:body => {:url => "http://someurl.com", :title => 'This is the title', :description => 'This is the description' }). + a_post("bookmarks/add").with(:body => {:url => "http://someurl.com", :title => 'This+is+the+title', :description => 'This+is+the+description' }). should have_been_made end @@ -231,4 +231,4 @@ describe Instapaper::Client::Bookmark do end end -end \ No newline at end of file +end