mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
Suppress warnings: shadowing outer local variable
lib/capybara/spec/spec_helper.rb:49: warning: shadowing outer local variable - name lib/capybara/spec/spec_helper.rb:49: warning: shadowing outer local variable - options
This commit is contained in:
parent
86e86c24b7
commit
180f3dcb16
1 changed files with 2 additions and 2 deletions
|
@ -46,8 +46,8 @@ module Capybara
|
|||
after do
|
||||
@session.reset_session!
|
||||
end
|
||||
specs.each do |name, options, block|
|
||||
describe name, options do
|
||||
specs.each do |spec_name, spec_options, block|
|
||||
describe spec_name, spec_options do
|
||||
class_eval(&block)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue