test/lib/vedeu/repositories/collection_test.rb in vedeu-0.6.19 vs test/lib/vedeu/repositories/collection_test.rb in vedeu-0.6.20
- old
+ new
@@ -18,15 +18,17 @@
it { instance.instance_variable_get('@name').must_equal(model_name) }
it { instance.instance_variable_get('@parent').must_equal(parent) }
end
describe 'accessors' do
- it { instance.must_respond_to(:collection) }
- it { instance.must_respond_to(:all) }
- it { instance.must_respond_to(:parent) }
- it { instance.must_respond_to(:parent=) }
- it { instance.must_respond_to(:name) }
- it { instance.must_respond_to(:name=) }
+ it {
+ instance.must_respond_to(:collection)
+ instance.must_respond_to(:all)
+ instance.must_respond_to(:parent)
+ instance.must_respond_to(:parent=)
+ instance.must_respond_to(:name)
+ instance.must_respond_to(:name=)
+ }
end
describe '.coerce' do
subject { described.coerce(collection, parent, model_name) }