Skip to content

Commit

Permalink
Spatial filtering requires JS support
Browse files Browse the repository at this point in the history
  • Loading branch information
twalpole committed Aug 8, 2019
1 parent ace2484 commit a8b8086
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/capybara/spec/session/find_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@
expect(@session.find(:css, 'input', &:disabled?)[:name]).to eq('disabled_text')
end

context 'with spatial filters' do
context 'with spatial filters', requires: [:js] do
before do
@session.visit('/spatial')
@center = @session.find(:css, 'div.center')
Expand Down
2 changes: 1 addition & 1 deletion lib/capybara/spec/session/has_css_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@
end
end

context 'with spatial requirements' do
context 'with spatial requirements', requires: [:js] do
before do
@session.visit('/spatial')
@center = @session.find(:css, '.center')
Expand Down

0 comments on commit a8b8086

Please sign in to comment.