test/lib/vedeu/templating/template_test.rb in vedeu-0.4.60 vs test/lib/vedeu/templating/template_test.rb in vedeu-0.4.61

- old
+ new

@@ -31,12 +31,13 @@ it { proc { subject }.must_raise(MissingRequired) } end context 'when the path exists' do - let(:path) { 'test/support/templates/inline.erb' } + let(:path) { 'test/support/templates/plain.erb' } + let(:expected) { "This is a test.\n" } - it { subject.must_equal("This is a test.\n") } + it { subject.must_equal(expected) } end end end # Templating