test/export/test_boujou_export.rb in tracksperanto-3.3.6 vs test/export/test_boujou_export.rb in tracksperanto-3.3.7
- old
+ new
@@ -5,10 +5,10 @@
include ParabolicTracks
P = File.dirname(__FILE__) + "/samples/ref_boujou.txt"
def test_export_output_written
t = Time.local(2010, "Apr", 15, 17, 21, 26)
- flexmock(Time).should_receive(:now).once.and_return(t)
+ flexmock(Time).should_receive(:now).and_return(t)
ensure_same_output Tracksperanto::Export::Boujou, P
end
def test_exporter_meta
assert_equal "boujou_text.txt", Tracksperanto::Export::Boujou.desc_and_extension