test/test_citrin.rb in citrin-0.0.10 vs test/test_citrin.rb in citrin-0.1.1
- old
+ new
@@ -30,16 +30,9 @@
`cd /var/www/rails_apps/prod/ && rails new #{@appname}`
statuscode = `curl -sL -w "%{http_code}" "#{@appname}.$(hostname -f)" -o /dev/null`
assert_equal "200", statuscode
end
- should "create svn config" do
- Citrin::CLI.start("create_svn", @appname)
- assert File.exists?("/var/svn/#{@appname}")
- svn_info=`svn info svn+ssh://$(hostname -f)/var/svn/#{@appname} 2> /dev/null`
- assert_not_equal "", svn_info
- end
-
should "create database" do
@app=Citrin::CLI.start("create_database", @appname)
begin
# connect to the MySQL server
dbh = Mysql2::Client.new(:host => "localhost", :username => @app.db_user, :password => @app.db_pass, :database => @app.db_name )