spec/unit/locked_switcher_spec.rb in lhm-1.0.3 vs spec/unit/locked_switcher_spec.rb in lhm-1.1.0
- old
+ new
@@ -13,10 +13,10 @@
before(:each) do
@start = Time.now
@origin = Lhm::Table.new("origin")
@destination = Lhm::Table.new("destination")
@migration = Lhm::Migration.new(@origin, @destination, @start)
- @switcher = Lhm::LockedSwitcher.new(@migration)
+ @switcher = Lhm::LockedSwitcher.new(@migration, nil)
end
describe "uncommitted" do
it "should disable autocommit first" do
@switcher.