spec/unit/migration_spec.rb in lhm-1.3.0 vs spec/unit/migration_spec.rb in lhm-2.0.0
- old
+ new
@@ -11,10 +11,10 @@
before(:each) do
@start = Time.now
@origin = Lhm::Table.new("origin")
@destination = Lhm::Table.new("destination")
- @migration = Lhm::Migration.new(@origin, @destination, @start)
+ @migration = Lhm::Migration.new(@origin, @destination, nil, @start)
end
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"