File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,6 @@ source "https://rubygems.org"
33gem "activerecord-jdbcsqlite3-adapter"
44gem "jdbc-sqlite3"
55
6- gem "rails", "~> 7.0"
6+ gem "rails", "~> 7.1. 0"
77
88gemspec path: ".."
Original file line number Diff line number Diff line change @@ -174,13 +174,13 @@ def test_assert_have_authorized_scope_raised_when_scope_options_mismatch
174174
175175 assert_match (
176176 Regexp . new ( "Expected a scoping named :default for :data type " \
177- "with scope options {:with_admins=> false} " \
177+ "with scope options {:? with_admins(=>|: ) false} " \
178178 "and without context from UserPolicy to have been applied" ) ,
179179 error . message
180180 )
181181 assert_match (
182182 Regexp . new ( "Registered scopings: .*TestHelperTest::CustomPolicy :default " \
183- "for :data with scope options {:with_admins=> true}" ) ,
183+ "for :data with scope options {:? with_admins(=>|: ) true}" ) ,
184184 error . message
185185 )
186186 end
@@ -194,7 +194,7 @@ def test_assert_have_authorized_scope_raised_when_context_mismatch
194194
195195 assert_match (
196196 Regexp . new ( "Expected a scoping named :all for :data type without scope options " \
197- "and with context: {:all_users=> false} from TestHelperTest::CustomPolicy to have been applied" ) ,
197+ "and with context: {:? all_users(=>|: ) false} from TestHelperTest::CustomPolicy to have been applied" ) ,
198198 error . message
199199 )
200200 end
You can’t perform that action at this time.
0 commit comments