diff options
-rw-r--r-- | spec/factories/ci/events.rb | 2 | ||||
-rw-r--r-- | spec/features/ci/admin/events_spec.rb | 2 | ||||
-rw-r--r-- | spec/features/ci/events_spec.rb | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/spec/factories/ci/events.rb b/spec/factories/ci/events.rb index 03450751596..9638618a400 100644 --- a/spec/factories/ci/events.rb +++ b/spec/factories/ci/events.rb @@ -17,7 +17,7 @@ FactoryGirl.define do "updated project settings#{n}" end - factory :admin_event do + factory :ci_admin_event do is_admin true end end diff --git a/spec/features/ci/admin/events_spec.rb b/spec/features/ci/admin/events_spec.rb index 6b6ace06c53..a7e75cc4f6b 100644 --- a/spec/features/ci/admin/events_spec.rb +++ b/spec/features/ci/admin/events_spec.rb @@ -1,7 +1,7 @@ require 'spec_helper' describe "Admin Events" do - let(:event) { FactoryGirl.create :admin_event } + let(:event) { FactoryGirl.create :ci_admin_event } before do skip_ci_admin_auth diff --git a/spec/features/ci/events_spec.rb b/spec/features/ci/events_spec.rb index dd13d7d66dc..8142eaff274 100644 --- a/spec/features/ci/events_spec.rb +++ b/spec/features/ci/events_spec.rb @@ -2,13 +2,13 @@ require 'spec_helper' describe "Events" do let(:project) { FactoryGirl.create :ci_project } - let(:event) { FactoryGirl.create :admin_event, project: project } + let(:event) { FactoryGirl.create :ci_admin_event, project: project } before do login_as :user end - describe "GET /project/:id/events" do + describe "GET /ci/project/:id/events" do before do event visit ci_project_events_path(project) |