mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
remove extraneous :focus_
This commit is contained in:
parent
26bc517afe
commit
bbec20f91d
1 changed files with 2 additions and 2 deletions
|
@ -144,12 +144,12 @@ RSpec.describe Capybara::Result do
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
context 'lazy select', :focus_ do
|
context 'lazy select' do
|
||||||
it 'is compatible' do
|
it 'is compatible' do
|
||||||
# This test will let us know when JRuby fixes lazy select so we can re-enable it in Result
|
# This test will let us know when JRuby fixes lazy select so we can re-enable it in Result
|
||||||
pending 'JRuby has an issue with lazy enumberator evaluation' if RUBY_PLATFORM == 'java'
|
pending 'JRuby has an issue with lazy enumberator evaluation' if RUBY_PLATFORM == 'java'
|
||||||
eval_count = 0
|
eval_count = 0
|
||||||
enum = ["Text1", "Text2", "Text3"].lazy.select do |t|
|
enum = %w[Text1 Text2 Text3].lazy.select do
|
||||||
eval_count += 1
|
eval_count += 1
|
||||||
true
|
true
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue