Skip to content

Commit

Permalink
What: tailwindcss-rails 2.0.30 brought a dom testing gem. This gem ra…
Browse files Browse the repository at this point in the history
…ils/rails-dom-testing#96 most likely raised a new error How: Specifying text: fixed the error
  • Loading branch information
jcowhigjr committed Aug 27, 2023
1 parent 40233ee commit dc771a2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions app/controllers/concerns/locales.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module Locales
extend ActiveSupport::Concern

private

included do
def set_locale(&)
locale =
Expand Down
2 changes: 1 addition & 1 deletion test/controllers/searches_controller_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class SearchesControllerTest < ActionDispatch::IntegrationTest

assert_response :success
assert_select 'h2',
"Top Rated Searches for #{@search.query} near you!",
text: "Top Rated Searches for #{@search.query} near you!",
match: :second
end

Expand Down

0 comments on commit dc771a2

Please sign in to comment.