From 19336aff26a7c5f4d1f8d3052ce23629dc269cda Mon Sep 17 00:00:00 2001 From: Steve Agalloco Date: Fri, 1 Mar 2013 11:48:54 -0500 Subject: [PATCH] Update specs to pass with webmock >= 1.10.0 --- Gemfile | 2 +- spec/instapaper/client/bookmark_spec.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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