generators/cucumber/templates/env.rb in howitzer-2.0.1 vs generators/cucumber/templates/env.rb in howitzer-2.0.2
- old
+ new
@@ -2,9 +2,15 @@
require 'capybara-screenshot/cucumber'
require_relative '../../config/boot'
require_relative '../../config/capybara'
World(FactoryGirl::Syntax::Methods)
+World(RSpec::Wait)
+
+RSpec.configure do |config|
+ config.wait_timeout = Howitzer.rspec_wait_timeout
+ config.disable_monkey_patching!
+end
FileUtils.mkdir_p(Howitzer.log_dir)
Howitzer::Log.settings_as_formatted_text
Howitzer::Cache.store(:cloud, :start_time, Time.now.utc)