This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "autotest/growl" | |
require "autotest/fsevent" | |
Autotest.add_hook :initialize do |autotest| | |
%w{.git .svn .hg .DS_Store ._* vendor tmp log doc}.each do |exception| | |
autotest.add_exception(exception) | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Usage: | |
# @wip @stop | |
# At the end of features/support/env.rb add the following line | |
# require File.expand_path(File.dirname(__FILE__) + '/stop') | |
# $ cucumber -p wip | |
After do |scenario| | |
if scenario.failed? && scenario.source_tag_names.include?("@wip") && scenario.source_tag_names.include?("@stop") | |
puts "Scenario failed. You are in rails console becuase of @stop. Type exit when you are done" |