Skip to content

Commit 0022b47

Browse files
committed
👮
1 parent a2750f5 commit 0022b47

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

features/support/env.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313

1414
# Monkey-patching Capybara::DSL if Capybara::DSLRSpecProxyInstaller has no `extended` hook
1515
unless Module.new.extend(RSpec::Matchers).extend(Capybara::DSL).singleton_class.ancestors.include?(Capybara::RSpecMatcherProxies)
16-
Capybara::DSL.extend(Module.new {
16+
Capybara::DSL.extend(Module.new do
1717
def extended(base)
18-
base.extend(::Capybara::RSpecMatcherProxies) if defined?(::RSpec::Matchers) && base.is_a?(::RSpec::Matchers)
18+
base.extend(Capybara::RSpecMatcherProxies) if defined?(RSpec::Matchers) && base.is_a?(RSpec::Matchers)
1919
super
2020
end
21-
})
21+
end)
2222
end
2323

2424
# Rack app for Capybara which returns the latest coverage report from Aruba temp project dir

0 commit comments

Comments
 (0)