test/lib/vedeu/renderers/file_test.rb in vedeu-0.6.71 vs test/lib/vedeu/renderers/file_test.rb in vedeu-0.7.0
- old
+ new
@@ -36,34 +36,34 @@
# 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 {
+ # it do
# ::File.expects(:write).with('/tmp/out', nil)
# subject
- # }
+ # end
end
context 'when the timestamp option is set' do
let(:timestamp) { true }
before { Time.stubs(:now).returns(_time) }
- # it {
+ # it do
# ::File.expects(:write).with('/tmp/out_1428865500.0', 'w')
# subject
- # }
+ # end
end
end
context 'when the filename option is set' do
let(:filename) { 'some_name' }
- # it {
+ # it do
# ::File.expects(:write).with('/tmp/some_name', 'w')
# subject
- # }
+ # end
end
end
end # File