Skip to content

Commit b2d530a

Browse files
Merge pull request #19 from kwebster2/master
required capybara/dsl in spec_helper
2 parents 75a551c + 7d58d1b commit b2d530a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spec/spec_helper.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
ENV["SINATRA_ENV"] = "test"
22
require_relative '../config/environment.rb'
3+
require 'capybara/dsl'
34
require 'rack/test'
45
require 'capybara/dsl'
56

@@ -13,4 +14,4 @@ def app
1314
Rack::Builder.parse_file('config.ru').first
1415
end
1516

16-
Capybara.app = app
17+
Capybara.app = app

0 commit comments

Comments
 (0)