Permalink
Browse files

allow http connections when vcr is not used

  • Loading branch information...
1 parent d09cdbd commit fe74bea878ba26fd8f03fdb961ddddcd03c65954 @rubiii rubiii committed Apr 29, 2012
Showing with 4 additions and 3 deletions.
  1. +4 −3 spec/spec_helper.rb
View
@@ -18,7 +18,8 @@
config.after { DatabaseCleaner.clean }
end
-VCR.configure do |c|
- c.cassette_library_dir = 'spec/cassettes'
- c.hook_into :webmock
+VCR.configure do |config|
+ config.cassette_library_dir = 'spec/cassettes'
+ config.hook_into :webmock
+ config.allow_http_connections_when_no_cassette = true
end

0 comments on commit fe74bea

Please sign in to comment.