spec/integration/atomic_switcher_spec.rb in lhm-1.1.0 vs spec/integration/atomic_switcher_spec.rb in lhm-1.2.0

- old
+ new

@@ -1,6 +1,6 @@ -# Copyright (c) 2011, SoundCloud Ltd., Rany Keddo, Tobias Bielohlawek, Tobias +# Copyright (c) 2011 - 2013, SoundCloud Ltd., Rany Keddo, Tobias Bielohlawek, Tobias # Schmidt require File.expand_path(File.dirname(__FILE__)) + '/integration_helper' require 'lhm/table' @@ -12,12 +12,12 @@ before(:each) { connect_master! } describe "switching" do before(:each) do - @origin = table_create("origin") + @origin = table_create("origin") @destination = table_create("destination") - @migration = Lhm::Migration.new(@origin, @destination) + @migration = Lhm::Migration.new(@origin, @destination) end it "rename origin to archive" do switcher = Lhm::AtomicSwitcher.new(@migration, connection) switcher.run