Permalink
Browse files

formet error with backtrace, run all specs when started

  • Loading branch information...
1 parent fa54846 commit 345cde689f0afcd68e2e16e4bbcb5e59a504ca1f @dnagir dnagir committed Jan 11, 2012
Showing with 4 additions and 1 deletion.
  1. +2 −0 .gitignore
  2. +1 −0 lib/guard/rspectacle.rb
  3. +1 −1 lib/guard/rspectacle/runner.rb
View
@@ -1,6 +1,8 @@
pkg/*
+bin/
*.gem
*.rbc
+*.swp
.bundle
.yardoc
doc
@@ -41,6 +41,7 @@ def start
require './spec/spec_helper'
Formatter.info 'RSpectacle is ready!'
+ run_all
end
# Gets called when the Guard should reload itself.
@@ -42,7 +42,7 @@ def run(paths, options = {})
#TODO: Get failed examples
rescue Exception => e
- Formatter.error "Error while spec run: #{ e.message }"
+ Formatter.error "Error while spec run: #{ e.message }\n#{e.backtrace.join("\n")}"
end
end

0 comments on commit 345cde6

Please sign in to comment.