1
0
Fork 0
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:
Thomas Walpole 2018-05-04 10:22:40 -07:00
parent 26bc517afe
commit bbec20f91d

View file

@ -144,12 +144,12 @@ RSpec.describe Capybara::Result do
end
end
context 'lazy select', :focus_ do
context 'lazy select' do
it 'is compatible' do
# 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'
eval_count = 0
enum = ["Text1", "Text2", "Text3"].lazy.select do |t|
enum = %w[Text1 Text2 Text3].lazy.select do
eval_count += 1
true
end