test/lib/vedeu/models/view/composition_test.rb in vedeu-0.3.3 vs test/lib/vedeu/models/view/composition_test.rb in vedeu-0.3.4
- old
+ new
@@ -26,15 +26,13 @@
it { subject.must_be_instance_of(described) }
end
describe '#initialize' do
- subject { instance }
-
- it { subject.must_be_instance_of(described) }
- it { subject.instance_variable_get('@interfaces').must_equal(interfaces) }
- it { subject.instance_variable_get('@colour').must_be_instance_of(Vedeu::Colour) }
- it { subject.instance_variable_get('@style').must_be_instance_of(Vedeu::Style) }
+ it { instance.must_be_instance_of(described) }
+ it { instance.instance_variable_get('@interfaces').must_equal(interfaces) }
+ it { instance.instance_variable_get('@colour').must_be_instance_of(Vedeu::Colour) }
+ it { instance.instance_variable_get('@style').must_be_instance_of(Vedeu::Style) }
end
describe '#inspect' do
subject { instance.inspect }