test/lib/vedeu/repositories/repository_test.rb in vedeu-0.4.17 vs test/lib/vedeu/repositories/repository_test.rb in vedeu-0.4.18
- old
+ new
@@ -53,10 +53,10 @@
it { instance.must_respond_to(:deregister) }
it { instance.must_respond_to(:register) }
end
describe '#initialize' do
- it { instance.must_be_instance_of(Vedeu::Repository) }
+ it { instance.must_be_instance_of(described) }
it { instance.instance_variable_get('@model').must_equal(model) }
it { instance.instance_variable_get('@storage').must_equal(storage) }
end
describe '#find' do