test/lib/vedeu/dsl/composition_test.rb in vedeu-0.4.41 vs test/lib/vedeu/dsl/composition_test.rb in vedeu-0.4.42

- old
+ new

@@ -35,17 +35,9 @@ describe '#template_for' do let(:_name) {} let(:filename) {} let(:object) {} let(:content) { "Hydrogen\nCarbon\nOxygen\nNitrogen" } - let(:as_lines) { - [ - Vedeu::Line.new(streams: [Vedeu::Stream.new(value: 'Hydrogen')]), - Vedeu::Line.new(streams: [Vedeu::Stream.new(value: 'Carbon')]), - Vedeu::Line.new(streams: [Vedeu::Stream.new(value: 'Oxygen')]), - Vedeu::Line.new(streams: [Vedeu::Stream.new(value: 'Nitrogen')]) - ] - } subject { instance.template_for(_name, filename, object) } context 'when the name of the view is not given' do let(:filename) { 'my_interface.erb' }