We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2750f5 commit 0022b47Copy full SHA for 0022b47
features/support/env.rb
@@ -13,12 +13,12 @@
13
14
# Monkey-patching Capybara::DSL if Capybara::DSLRSpecProxyInstaller has no `extended` hook
15
unless Module.new.extend(RSpec::Matchers).extend(Capybara::DSL).singleton_class.ancestors.include?(Capybara::RSpecMatcherProxies)
16
- Capybara::DSL.extend(Module.new {
+ Capybara::DSL.extend(Module.new do
17
def extended(base)
18
- base.extend(::Capybara::RSpecMatcherProxies) if defined?(::RSpec::Matchers) && base.is_a?(::RSpec::Matchers)
+ base.extend(Capybara::RSpecMatcherProxies) if defined?(RSpec::Matchers) && base.is_a?(RSpec::Matchers)
19
super
20
end
21
- })
+ end)
22
23
24
# Rack app for Capybara which returns the latest coverage report from Aruba temp project dir
0 commit comments