Skip to content

Commit

Permalink
add --trace to db:migrate to hopefullyl get more information about fa…
Browse files Browse the repository at this point in the history
…iling integration test
  • Loading branch information
alexch committed Jun 30, 2009
1 parent f8344e2 commit 14fd2e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/erect/erect_rails_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def run_rails(app_dir)
run "#{erector_bin}/erector app/views/posts"
FileUtils.rm_f("app/views/posts/*.erb")
run "(echo ''; echo \"require 'erector'\") >> config/environment.rb"
run "rake db:migrate"
run "rake --trace db:migrate"
# run "script/server" # todo: launch in background; use mechanize or something to crawl it; then kill it
# perhaps use open4?
# open http://localhost:3000/posts
Expand Down

0 comments on commit 14fd2e8

Please sign in to comment.