spec/bogus/fakes/fake_configuration_spec.rb in bogus-0.1.5 vs spec/bogus/fakes/fake_configuration_spec.rb in bogus-0.1.6

- old
+ new

@@ -2,11 +2,11 @@ describe Bogus::FakeConfiguration do let(:config) { Bogus::FakeConfiguration.new } it "does not contain not configured fakes" do - expect(config.include?(:foo)).to be_false + expect(config.include?(:foo)).to be(false) end def class_block(name) config.get(name).class_block end @@ -24,11 +24,11 @@ fake(:foo, as: :class, class: proc{Samples::Foo}) do bar "the bar" end end - expect(config.include?(:foo)).to be_true - expect(config.include?(:bar)).to be_false + expect(config.include?(:foo)).to be(true) + expect(config.include?(:bar)).to be(false) end it "returns the configuration for a fake" do config.evaluate do fake(:foo, as: :class, class: proc{Samples::Foo}) do