lib/switchman/test_helper.rb in switchman-1.2.33 vs lib/switchman/test_helper.rb in switchman-1.2.34
- old
+ new
@@ -45,11 +45,11 @@
shard1.drop_database rescue nil
shard1.destroy
shard2.drop_database rescue nil
shard2.destroy
- shard1 = server1.create_new_shard(:db_name => server1.config[:shard1])
- shard2 = server2.create_new_shard(:db_name => server1.config[:shard2])
+ shard1 = server1.create_new_shard(:name => server1.config[:shard1])
+ shard2 = server2.create_new_shard(:name => server1.config[:shard2])
end
[shard1, shard2]
else
[server1, server2]
end
\ No newline at end of file