Skip to content
Browse files

get vcr and rspec playing nicely

  • Loading branch information...
1 parent 428f881 commit d681ab6e02f1f53db78efc8bdc2ee3574763a2ca @cjolly committed Dec 8, 2012
Showing with 13 additions and 12 deletions.
  1. +10 −10 Gemfile.lock
  2. +1 −1 pickem.gemspec
  3. +1 −1 spec/spec_helper.rb
  4. +1 −0 spec/support/vcr.rb
View
20 Gemfile.lock
@@ -12,17 +12,17 @@ GEM
crack (0.3.1)
diff-lcs (1.1.3)
nokogiri (1.5.0)
- rspec (2.11.0)
- rspec-core (~> 2.11.0)
- rspec-expectations (~> 2.11.0)
- rspec-mocks (~> 2.11.0)
- rspec-core (2.11.1)
- rspec-expectations (2.11.3)
+ rspec (2.12.0)
+ rspec-core (~> 2.12.0)
+ rspec-expectations (~> 2.12.0)
+ rspec-mocks (~> 2.12.0)
+ rspec-core (2.12.1)
+ rspec-expectations (2.12.0)
diff-lcs (~> 1.1.3)
- rspec-mocks (2.11.2)
+ rspec-mocks (2.12.0)
terminal-table (1.4.3)
- vcr (2.2.5)
- webmock (1.8.10)
+ vcr (2.3.0)
+ webmock (1.8.11)
addressable (>= 2.2.7)
crack (>= 0.1.7)
@@ -33,4 +33,4 @@ DEPENDENCIES
pickem!
rspec
vcr
- webmock
+ webmock (~> 1.8.0)
View
2 pickem.gemspec
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
s.add_development_dependency "rspec"
s.add_development_dependency "vcr"
- s.add_development_dependency "webmock"
+ s.add_development_dependency "webmock", "~> 1.8.0"
s.add_runtime_dependency "nokogiri"
s.add_runtime_dependency "terminal-table"
View
2 spec/spec_helper.rb
@@ -6,5 +6,5 @@
require 'support/vcr'
RSpec.configure do |c|
-
+ c.treat_symbols_as_metadata_keys_with_true_values = true
end
View
1 spec/support/vcr.rb
@@ -1,4 +1,5 @@
VCR.configure do |c|
c.cassette_library_dir = 'spec/fixtures/vcr_cassettes'
c.hook_into :webmock
+ c.configure_rspec_metadata!
end

0 comments on commit d681ab6

Please sign in to comment.
Something went wrong with that request. Please try again.