test/lib/vedeu/repositories/repository_test.rb in vedeu-0.5.7 vs test/lib/vedeu/repositories/repository_test.rb in vedeu-0.5.8

- old
+ new

@@ -50,9 +50,14 @@ 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 'accessors' do + it { instance.must_respond_to(:model) } + it { instance.must_respond_to(:storage) } + end + describe '#all' do subject { instance.all } context 'when there are no models stored in the repository' do before { instance.reset }