spec/bogus/fakes/overwrites_classes_spec.rb in bogus-0.1.4 vs spec/bogus/fakes/overwrites_classes_spec.rb in bogus-0.1.5

- old
+ new

@@ -12,15 +12,15 @@ let(:overwrites_classes) { Bogus::OverwritesClasses.new } it "overwrites nested classes" do overwrites_classes.overwrite('SampleOuterModule::SampleModule::SampleClass', new_class) - SampleOuterModule::SampleModule::SampleClass.should equal(new_class) + expect(SampleOuterModule::SampleModule::SampleClass).to equal(new_class) end it "overwrites top level classes" do overwrites_classes.overwrite('SampleOuterModule', new_class) - SampleOuterModule.should equal(new_class) + expect(SampleOuterModule).to equal(new_class) end end