lib/cucumber/sinatra/templates/features/support/env.rbt in cucumber-sinatra-0.2.1 vs lib/cucumber/sinatra/templates/features/support/env.rbt in cucumber-sinatra-0.2.2
- old
+ new
@@ -4,9 +4,11 @@
require 'capybara'
require 'capybara/cucumber'
require 'spec'
+<%= app_class -%>.set(:environment, :test)
+
World do
Capybara.app = <%= app_class -%>
include Capybara
include Spec::Expectations