spec/adhearsion/generators_spec.rb in adhearsion-2.5.4 vs spec/adhearsion/generators_spec.rb in adhearsion-2.6.0
- old
+ new
@@ -10,10 +10,10 @@
it "adds a generator to the mappings and returns it" do
DummyGenerator = Class.new
Generators.add_generator generator_key, DummyGenerator
- Generators.mappings[generator_key].should be == DummyGenerator
+ expect(Generators.mappings[generator_key]).to eq(DummyGenerator)
end
end
end
end