spec/vcr/test_frameworks/cucumber_spec.rb in vcr-1.11.1 vs spec/vcr/test_frameworks/cucumber_spec.rb in vcr-1.11.2
- old
+ new
@@ -16,11 +16,11 @@
def test_tag(cassette_attribute, tag, expected_value)
VCR.current_cassette.should be_nil
before_blocks_for_tags[tag].call
- VCR.current_cassette.send(cassette_attribute).should == expected_value
+ VCR.current_cassette.send(cassette_attribute).should eq(expected_value)
after_blocks_for_tags[tag].call
VCR.current_cassette.should be_nil
end
@@ -52,9 +52,9 @@
describe '.tags' do
it 'returns the list of cucumber tags' do
subject.tags 'tag1', 'tag2'
subject.tags 'tag3', 'tag4'
- described_class.tags[-4, 4].should == %w(@tag1 @tag2 @tag3 @tag4)
+ described_class.tags[-4, 4].should eq(%w(@tag1 @tag2 @tag3 @tag4))
end
end
end