Commit 1b860a4e authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix more tests after merge from CE

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 17df09a6
......@@ -14,13 +14,11 @@ class Spinach::Features::GroupHooks < Spinach::FeatureSteps
end
step 'I own project "Shop" in group "Sourcing"' do
@project = create(:project, :repository,
name: 'Shop', group: @group)
@project = create(:project, :repository, group: @group)
end
step 'I own empty project "Empty Shop" in group "Sourcing"' do
@project = create(:project,
name: 'Shop', group: @group)
@project = create(:project, group: @group)
end
step 'group has hook' do
......
......@@ -10,6 +10,7 @@ describe 'Filter issues', js: true do
# When the name is longer, the filtered search input can end up scrolling
# horizontally, and PhantomJS can't handle it.
let(:user) { create(:user, name: 'Ann') }
let(:user2) { create(:user, name: 'jane') }
let!(:bug_label) { create(:label, project: project, title: 'bug') }
let!(:caps_sensitive_label) { create(:label, project: project, title: 'CaPs') }
......@@ -34,8 +35,6 @@ describe 'Filter issues', js: true do
before do
project.add_master(user)
user2 = create(:user)
create(:issue, project: project, author: user2, title: "Bug report 1")
create(:issue, project: project, author: user2, title: "Bug report 2")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment