test/test_citrin.rb in citrin-0.0.9 vs test/test_citrin.rb in citrin-0.0.10

- old
+ new

@@ -7,11 +7,11 @@ def setup @appname = "citest" end - def cleanup + def teardown Citrin::CLI.start("remove_railsapp", @appname) @app = Citrin::App.new(@appname) begin # connect to the MySQL server dbh = Mysql2::Client.new(:host => "localhost", :username => Citrin::config['db_user'], :password => Citrin::config['db_pass'] ) @@ -49,8 +49,7 @@ fail "Can't connect to created DB" ensure # disconnect from server dbh.close if dbh end - cleanup end end