From ff76adb5476f663fe92cec0ec4a78e93c7615191 Mon Sep 17 00:00:00 2001 From: Jacopo Date: Fri, 21 Apr 2017 22:32:02 +0200 Subject: Unnecessary "include WaitForAjax" and "include ApiHelpers" Removed all the unnecessary include of `WaitForAjax` and `ApiHelpers` in the specs. Removed unnecessary usage of `api:true` --- spec/requests/api/notification_settings_spec.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'spec/requests/api/notification_settings_spec.rb') diff --git a/spec/requests/api/notification_settings_spec.rb b/spec/requests/api/notification_settings_spec.rb index 39d3afcb78f..f619b7e6eaf 100644 --- a/spec/requests/api/notification_settings_spec.rb +++ b/spec/requests/api/notification_settings_spec.rb @@ -1,8 +1,6 @@ require 'spec_helper' -describe API::NotificationSettings, api: true do - include ApiHelpers - +describe API::NotificationSettings do let(:user) { create(:user) } let!(:group) { create(:group) } let!(:project) { create(:empty_project, :public, creator_id: user.id, namespace: group) } -- cgit v1.2.1