Skip to content

Commit 4379127

Browse files
spec/user_profile_tracker_spec.rb -> Updated error messages in tests.
1 parent 7cd21e7 commit 4379127

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

spec/user_profile_tracker_spec.rb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,8 @@
3939

4040
reasons = []
4141
user_profile_tracker.load_user_profile(reasons)
42-
43-
expect(reasons).to include('lookup error')
44-
expect(mock_logger).to have_received(:log).with(Logger::ERROR, "Error while loading user profile in user profile tracker for user ID 'test_user': lookup error.")
42+
expect(reasons).to include("Error while looking up user profile for user ID 'test_user': lookup error.")
43+
expect(mock_logger).to have_received(:log).with(Logger::ERROR, "Error while looking up user profile for user ID 'test_user': lookup error.")
4544
end
4645

4746
it 'does nothing if reasons array is nil' do

0 commit comments

Comments
 (0)