summaryrefslogtreecommitdiff
path: root/spec/requests/api/notification_settings_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/requests/api/notification_settings_spec.rb')
-rw-r--r--spec/requests/api/notification_settings_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/requests/api/notification_settings_spec.rb b/spec/requests/api/notification_settings_spec.rb
index f619b7e6eaf..d0e7a82e607 100644
--- a/spec/requests/api/notification_settings_spec.rb
+++ b/spec/requests/api/notification_settings_spec.rb
@@ -72,8 +72,8 @@ describe API::NotificationSettings do
expect(response).to have_http_status(200)
expect(json_response['level']).to eq(user.reload.notification_settings_for(project).level)
- expect(json_response['events']['new_note']).to eq(true)
- expect(json_response['events']['new_issue']).to eq(false)
+ expect(json_response['events']['new_note']).to be_truthy
+ expect(json_response['events']['new_issue']).to be_falsey
end
end