Skip to content

Commit

Permalink
Fix Rubocop again
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahwcodes committed Oct 24, 2024
1 parent 80a3a3b commit ec11912
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion modules/va_notify/lib/va_notify/service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def create_notification(response)
end

def find_caller_locations
caller_locations(1,1).map do |location|
caller_locations(1, 1).map do |location|
"#{location.path}:#{location.lineno} in #{location.label}"
end
end
Expand Down
4 changes: 2 additions & 2 deletions modules/va_notify/spec/lib/service_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@

it 'logs an error if the notification cannot be saved' do
notification = VANotify::Notification.new
notification.errors.add(:base, "Some error occurred")
notification.errors.add(:base, 'Some error occurred')
allow(Flipper).to receive(:enabled?).with(:notification_creation).and_return(true)
allow(Notifications::Client).to receive(:new).and_return(notification_client)
allow(notification_client).to receive(:send_email).and_return(response)
Expand Down Expand Up @@ -157,7 +157,7 @@

it 'logs an error if the notification cannot be saved' do
notification = VANotify::Notification.new
notification.errors.add(:base, "Some error occurred")
notification.errors.add(:base, 'Some error occurred')
allow(Flipper).to receive(:enabled?).with(:notification_creation).and_return(true)
allow(Notifications::Client).to receive(:new).and_return(notification_client)
allow(notification_client).to receive(:send_sms).and_return(response)
Expand Down

0 comments on commit ec11912

Please sign in to comment.