spec/integration/chunker_spec.rb in lhm-2.1.0 vs spec/integration/chunker_spec.rb in lhm-2.2.0
- old
+ new
@@ -8,17 +8,17 @@
describe Lhm::Chunker do
include IntegrationHelper
before(:each) { connect_master! }
- describe "copying" do
+ describe 'copying' do
before(:each) do
@origin = table_create(:origin)
@destination = table_create(:destination)
@migration = Lhm::Migration.new(@origin, @destination)
end
- it "should copy 23 rows from origin to destination" do
+ it 'should copy 23 rows from origin to destination' do
23.times { |n| execute("insert into origin set id = '#{ n * n + 23 }'") }
printer = MiniTest::Mock.new
5.times { printer.expect(:notify, :return_value, [Fixnum, Fixnum]) }
printer.expect(:end, :return_value, [])