Skip to content

Commit 7d58d1b

Browse files
committed
required capybara/dsl in spec_helper
1 parent 7a165ab commit 7d58d1b

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

56
RSpec.configure do |config|
@@ -12,4 +13,4 @@ def app
1213
Rack::Builder.parse_file('config.ru').first
1314
end
1415

15-
Capybara.app = app
16+
Capybara.app = app

0 commit comments

Comments
 (0)