diff --git a/spec/lib/mysql_online_migrations/mysql2_adapter_without_lock_spec.rb b/spec/lib/mysql_online_migrations/mysql2_adapter_without_lock_spec.rb index c82f0d2..e1a6a4f 100644 --- a/spec/lib/mysql_online_migrations/mysql2_adapter_without_lock_spec.rb +++ b/spec/lib/mysql_online_migrations/mysql2_adapter_without_lock_spec.rb @@ -5,6 +5,11 @@ it "successfully instantiates a working adapter" do ActiveRecord::ConnectionAdapters::Mysql2AdapterWithoutLock.new(@adapter).should be_active end + + it "successfully instantiates a working adapter with verbose output" do + instance = ActiveRecord::ConnectionAdapters::Mysql2AdapterWithoutLock.new(@adapter, true) + instance.instance_variable_get(:@verbose).should be_true + end end context "#lock_none_statement" do @@ -134,4 +139,4 @@ end end end -end \ No newline at end of file +end