features/support/env.rb in rack-blogengine-0.2.4 vs features/support/env.rb in rack-blogengine-0.2.5
- old
+ new
@@ -12,14 +12,14 @@
add_filter '/pkg/'
add_filter '/spec/'
add_filter '/features/'
add_filter '/doc/'
add_filter '/assets/'
-end if ENV["COVERAGE"]
+end if ENV['COVERAGE']
require 'capybara/cucumber'
require 'rack/blogengine'
Rack::Blogengine.documents = [{ html: '<!DOCTYPE html><body><h2>index</h2></body></html>',
path: '/' }]
-Capybara.app = Rack::Blogengine::Application
+Capybara.app = Rack::Blogengine::Application.new