Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated spec/support/webmocks in order to be compatible with Ree, 1.8…

….7 and JRuby
  • Loading branch information...
commit 1bdc6ce86b4ef6a282f86bd57b6db77f1d8206f4 1 parent 98e5cbc
@zedtux authored
Showing with 4 additions and 11 deletions.
  1. +4 −11 spec/support/webmocks.rb
View
15 spec/support/webmocks.rb
@@ -1,11 +1,4 @@
-stub_request(:get, "http://tech.rufy.com")
- .to_return(:status => 200, :body => File.open(File.join(File.dirname(__FILE__), "fixtures", "rss20.xml")).read, :headers => {})
-
-stub_request(:get, "http://www.ruby-lang.org/en/feeds/news.rss")
- .to_return(:status => 200, :body => File.open(File.join(File.dirname(__FILE__), "fixtures", "ruby.rss")).read, :headers => {})
-
-stub_request(:get, "http://www.flickr.com/photos/herval/")
- .to_return(:status => 200, :body => File.open(File.join(File.dirname(__FILE__), "fixtures", "media_rss.xml")).read, :headers => {})
-
-stub_request(:get, "http://waxluxembourg.com/feed/")
- .to_return(:status => 200, :body => File.open(File.join(File.dirname(__FILE__), "fixtures", "wax.rss")).read, :headers => {})
+stub_request(:get, "http://tech.rufy.com").to_return(:status => 200, :body => File.open(File.join(File.dirname(__FILE__), "fixtures", "rss20.xml")).read, :headers => {})
+stub_request(:get, "http://www.ruby-lang.org/en/feeds/news.rss").to_return(:status => 200, :body => File.open(File.join(File.dirname(__FILE__), "fixtures", "ruby.rss")).read, :headers => {})
+stub_request(:get, "http://www.flickr.com/photos/herval/").to_return(:status => 200, :body => File.open(File.join(File.dirname(__FILE__), "fixtures", "media_rss.xml")).read, :headers => {})
+stub_request(:get, "http://waxluxembourg.com/feed/").to_return(:status => 200, :body => File.open(File.join(File.dirname(__FILE__), "fixtures", "wax.rss")).read, :headers => {})
Please sign in to comment.
Something went wrong with that request. Please try again.