test/lib/vedeu/renderers/file_test.rb in vedeu-0.7.4 vs test/lib/vedeu/renderers/file_test.rb in vedeu-0.8.0

- old
+ new

@@ -30,12 +30,10 @@ describe '#render' do let(:_time) { Time.new(2015, 4, 12, 20, 05, 00, "+01:00") } subject { instance.render(output) } - it { instance.must_respond_to(:clear) } - # it { subject.must_be_instance_of(String) } context 'when the filename option is not set' do context 'when the timestamp option is not set' do # it do @@ -62,9 +60,13 @@ # it do # ::File.expects(:write).with('/tmp/some_name', 'w') # subject # end end + end + + describe '#clear' do + it { instance.must_respond_to(:clear) } end end # File end # Renderers