Skip to content

Commit

Permalink
Merge pull request #458 from nla/dependabot/bundler/rubocop-rspec-3.0.1
Browse files Browse the repository at this point in the history
build(deps-dev): bump rubocop-rspec from 2.25.0 to 3.0.1
  • Loading branch information
yetti authored Jun 18, 2024
2 parents e96ca3c + cdcc002 commit 252877c
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 17 deletions.
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ group :development, :test do
gem "rubocop-rails", require: false
gem "rubocop-rspec", require: false
gem "rubocop-performance", require: false
gem "rubocop-capybara", require: false
gem "rubocop-factory_bot", require: false

gem "solr_wrapper", ">= 0.3"

gem "rspec-rails", "~> 6.1"
Expand Down
14 changes: 7 additions & 7 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -461,10 +461,10 @@ GEM
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.31.3)
parser (>= 3.3.1.0)
rubocop-capybara (2.19.0)
rubocop-capybara (2.21.0)
rubocop (~> 1.41)
rubocop-factory_bot (2.24.0)
rubocop (~> 1.33)
rubocop-factory_bot (2.26.1)
rubocop (~> 1.61)
rubocop-performance (1.21.1)
rubocop (>= 1.48.1, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
Expand All @@ -473,10 +473,8 @@ GEM
rack (>= 1.1)
rubocop (>= 1.33.0, < 2.0)
rubocop-ast (>= 1.30.0, < 2.0)
rubocop-rspec (2.25.0)
rubocop (~> 1.40)
rubocop-capybara (~> 2.17)
rubocop-factory_bot (~> 2.22)
rubocop-rspec (3.0.1)
rubocop (~> 1.61)
ruby-next-core (1.0.3)
ruby-progressbar (1.13.0)
ruby-statistics (3.0.2)
Expand Down Expand Up @@ -649,6 +647,8 @@ DEPENDENCIES
redis (~> 5.1)
rsolr (>= 1.0, < 3)
rspec-rails (~> 6.1)
rubocop-capybara
rubocop-factory_bot
rubocop-performance
rubocop-rails
rubocop-rspec
Expand Down
16 changes: 8 additions & 8 deletions spec/components/arclight/breadcrumbs_hierarchy_component_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

expect(page).to have_css "li", text: "National Library of Australia"
expect(page).to have_css "li", text: "Guide to the ABC123"
expect(page).not_to have_link "Guide to the ABC123"
expect(page).to have_no_link "Guide to the ABC123"
end
end

Expand All @@ -47,11 +47,11 @@
expect(page).to have_link "Guide to the ABC123", href: "/finding-aids/catalog/abc123"

expect(page).to have_link "DEF", href: "/finding-aids/catalog/abc123abc123_def"
expect(page).not_to have_link "Guide to the DEF", href: "/finding-aids/catalog/abc123abc123_def"
expect(page).to have_no_link "Guide to the DEF", href: "/finding-aids/catalog/abc123abc123_def"

expect(page).to have_css "li", text: "GHI"
expect(page).not_to have_link "GHI"
expect(page).not_to have_link "Guide to the GHI"
expect(page).to have_no_link "GHI"
expect(page).to have_no_link "Guide to the GHI"
end
end

Expand All @@ -76,14 +76,14 @@
expect(page).to have_link "Guide to the ABC123", href: "/finding-aids/catalog/abc123"

expect(page).to have_link "DEF", href: "/finding-aids/catalog/abc123abc123_def"
expect(page).not_to have_link "Guide to the DEF", href: "/finding-aids/catalog/abc123abc123_def"
expect(page).to have_no_link "Guide to the DEF", href: "/finding-aids/catalog/abc123abc123_def"

expect(page).to have_link "GHI", href: "/finding-aids/catalog/abc123abc123_ghi"
expect(page).not_to have_link "Guide to the GHI", href: "/finding-aids/catalog/abc123abc123_ghi"
expect(page).to have_no_link "Guide to the GHI", href: "/finding-aids/catalog/abc123abc123_ghi"

expect(page).to have_css "li", text: "JKL"
expect(page).not_to have_link "Guide to the JKL"
expect(page).not_to have_link "JKL"
expect(page).to have_no_link "Guide to the JKL"
expect(page).to have_no_link "JKL"
end
end
end
4 changes: 2 additions & 2 deletions spec/system/nav_actions_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
it "does not show the History link" do
visit root_path

expect(page).not_to have_text("History")
expect(page).to have_no_text("History")
end

context "when FOLIO_UPDATE_IN_PROGRESS is `true`" do
Expand All @@ -18,7 +18,7 @@

visit root_path

expect(page).not_to have_link I18n.t("blacklight.header_links.login"), href: new_user_session_path
expect(page).to have_no_link I18n.t("blacklight.header_links.login"), href: new_user_session_path
end
end

Expand Down

0 comments on commit 252877c

Please sign in to comment.