test/lib/vedeu/dsl/composition_test.rb in vedeu-0.3.3 vs test/lib/vedeu/dsl/composition_test.rb in vedeu-0.3.4

- old
+ new

@@ -10,14 +10,12 @@ let(:instance) { described.new(model) } let(:model) { Vedeu::Composition.new } let(:client) {} describe '#initialize' do - subject { instance } - - it { subject.must_be_instance_of(Vedeu::DSL::Composition) } - it { subject.instance_variable_get('@model').must_equal(model) } - it { subject.instance_variable_get('@client').must_equal(client) } + it { instance.must_be_instance_of(Vedeu::DSL::Composition) } + it { instance.instance_variable_get('@model').must_equal(model) } + it { instance.instance_variable_get('@client').must_equal(client) } end describe '#view' do subject { instance.view('dysprosium') do