test/lib/vedeu/repositories/repository_test.rb in vedeu-0.3.3 vs test/lib/vedeu/repositories/repository_test.rb in vedeu-0.3.4
- old
+ new
@@ -24,14 +24,12 @@
let(:model_instance) { model.new(model_name) }
let(:model_name) { 'terbium' }
let(:storage) { {} }
describe '#initialize' do
- subject { instance }
-
- it { subject.must_be_instance_of(Vedeu::Repository) }
- it { subject.instance_variable_get('@model').must_equal(model) }
- it { subject.instance_variable_get('@storage').must_equal(storage) }
+ it { instance.must_be_instance_of(Vedeu::Repository) }
+ it { instance.instance_variable_get('@model').must_equal(model) }
+ it { instance.instance_variable_get('@storage').must_equal(storage) }
end
describe '#inspect' do
subject { instance.inspect }