features/test_frameworks/rspec_metadata.feature in vcr-2.0.0.rc1 vs features/test_frameworks/rspec_metadata.feature in vcr-2.0.0.rc2

- old
+ new

@@ -29,11 +29,11 @@ end """ Scenario: Use `:vcr` metadata Given a file named "spec/vcr_example_spec.rb" with: - """ + """ruby start_sinatra_app(:port => 7777) do get('/') { "Hello" } end def make_http_request @@ -64,17 +64,17 @@ end end """ When I run `rspec spec/vcr_example_spec.rb` Then it should pass with "4 examples, 0 failures" - And the file "spec/cassettes/VCR_example_group_metadata/records_an_http_request.yml" should contain "body: Hello" - And the file "spec/cassettes/VCR_example_group_metadata/records_another_http_request.yml" should contain "body: Hello" - And the file "spec/cassettes/VCR_example_group_metadata/in_a_nested_example_group/records_another_one.yml" should contain "body: Hello" - And the file "spec/cassettes/VCR_example_metadata/records_an_http_request.yml" should contain "body: Hello" + And the file "spec/cassettes/VCR_example_group_metadata/records_an_http_request.yml" should contain "Hello" + And the file "spec/cassettes/VCR_example_group_metadata/records_another_http_request.yml" should contain "Hello" + And the file "spec/cassettes/VCR_example_group_metadata/in_a_nested_example_group/records_another_one.yml" should contain "Hello" + And the file "spec/cassettes/VCR_example_metadata/records_an_http_request.yml" should contain "Hello" Scenario: Pass a hash to set the cassette options Given a file named "spec/vcr_example_spec.rb" with: - """ + """ruby require 'spec_helper' describe "Using an options hash", :vcr => { :cassette_name => "example", :record => :new_episodes } do it 'uses the provided cassette name' do VCR.current_cassette.name.should == "example"