spec/unit/migration_spec.rb in lhm-1.0.0.rc2 vs spec/unit/migration_spec.rb in lhm-1.0.0.rc3
- old
+ new
@@ -1,9 +1,7 @@
-#
-# Copyright (c) 2011, SoundCloud Ltd., Rany Keddo, Tobias Bielohlawek, Tobias
-# Schmidt
-#
+# Copyright (c) 2011, SoundCloud Ltd., Rany Keddo, Tobias Bielohlawek, Tobias
+# Schmidt
require File.expand_path(File.dirname(__FILE__)) + '/unit_helper'
require 'lhm/table'
require 'lhm/migration'
@@ -21,6 +19,5 @@
it "should name archive" do
stamp = "%Y_%m_%d_%H_%M_%S_#{ "%03d" % (@start.usec / 1000) }"
@migration.archive_name.must_equal "lhma_#{ @start.strftime(stamp) }_origin"
end
end
-