spec/vcr/library_hooks/fakeweb_spec.rb in vcr-2.7.0 vs spec/vcr/library_hooks/fakeweb_spec.rb in vcr-2.8.0

- old
+ new

@@ -109,10 +109,10 @@ describe "VCR.configuration.after_library_hooks_loaded hook" do let(:run_hook) { $fakeweb_after_loaded_hook.conditionally_invoke } context 'when WebMock has been loaded' do before(:each) do - expect(defined?(WebMock)).to be_true + expect(defined?(WebMock)).to be_truthy end it 'raises an error since FakeWeb and WebMock cannot both be used simultaneously' do expect { run_hook }.to raise_error(ArgumentError, /cannot use both/) end