Skip to content

Commit

Permalink
minor updates
Browse files Browse the repository at this point in the history
  • Loading branch information
twalpole committed Apr 2, 2023
1 parent e316906 commit 0ef62a8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ require:
- rubocop-performance
- rubocop-rake
- rubocop-rspec
- rubocop-capybara

AllCops:
NewCops: enable
Expand Down
2 changes: 1 addition & 1 deletion lib/capybara/spec/session/window/windows_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@
titles = @session.windows.map do |window|
@session.within_window(window) { @session.title }
end
expect(titles).to match_array(['With Windows', 'Title of the first popup', 'Title of popup two'])
expect(titles).to match_array(['With Windows', 'Title of the first popup', 'Title of popup two']) # rubocop:disable RSpec/MatchArray
end
end
2 changes: 1 addition & 1 deletion spec/rspec/features_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
end

# rubocop:disable RSpec/RepeatedExample
xfeature 'if xfeature aliases to pending then' do # rubocop:disable RSpec/PendingWithoutReason
xfeature 'if xfeature aliases to pending then' do
scenario "this should be 'temporarily disabled with xfeature'" do
# dummy
end
Expand Down

0 comments on commit 0ef62a8

Please sign in to comment.