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

- old
+ new

@@ -7,21 +7,21 @@ it "adds classes" do overwritten_classes.add("Foo::Bar", klass) overwritten_classes.add("Baz::Bam", klass) - overwritten_classes.classes.should == [["Foo::Bar", klass], + expect(overwritten_classes.classes).to eq [["Foo::Bar", klass], ["Baz::Bam", klass]] end it "clears overwritten classes" do overwritten_classes.add("Foo::Bar", klass) overwritten_classes.add("Baz::Bam", klass) overwritten_classes.clear - overwritten_classes.classes.should == [] + expect(overwritten_classes.classes).to eq [] end it "returns an empty array with no classes" do - overwritten_classes.classes.should == [] + expect(overwritten_classes.classes).to eq [] end end