test/lib/vedeu/presentation/translator_test.rb in vedeu-0.3.3 vs test/lib/vedeu/presentation/translator_test.rb in vedeu-0.3.4

- old
+ new

@@ -7,13 +7,11 @@ let(:described) { Vedeu::Translator } let(:instance) { described.new(colour) } let(:colour) { '#ff0000' } describe '#initialize' do - subject { instance } - - it { subject.must_be_instance_of(Translator) } - it { subject.instance_variable_get('@colour').must_equal(colour) } + it { instance.must_be_instance_of(Translator) } + it { instance.instance_variable_get('@colour').must_equal(colour) } end describe '#escape_sequence' do subject { instance.escape_sequence }