diff options
author | Phil Hughes <me@iamphill.com> | 2016-04-15 15:18:55 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-05-16 10:29:47 +0100 |
commit | 1a086745fc9a3e1ad74a7156f7f8bbf826a46b83 (patch) | |
tree | b1c51e948359ed59ecf2fda94655ac8a84997896 /spec | |
parent | fdc949073ceabac7f573c1c1e0fcf06e4603ce11 (diff) | |
download | gitlab-ce-1a086745fc9a3e1ad74a7156f7f8bbf826a46b83.tar.gz |
Fixed tests
Diffstat (limited to 'spec')
-rw-r--r-- | spec/features/issues/filter_issues_spec.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/spec/features/issues/filter_issues_spec.rb b/spec/features/issues/filter_issues_spec.rb index c479e43b016..c7ffee7d09c 100644 --- a/spec/features/issues/filter_issues_spec.rb +++ b/spec/features/issues/filter_issues_spec.rb @@ -167,8 +167,7 @@ describe 'Filter issues', feature: true do project: project, milestone: milestone, author: user, - assignee: user - ) + assignee: user) issue.labels << project.labels.find_by(title: 'bug') visit namespace_project_issues_path(project.namespace, project) @@ -265,7 +264,7 @@ describe 'Filter issues', feature: true do describe 'filter issues and sort', js: true do before do - label = create(:label, project: project, title: 'bug') + create(:label, project: project, title: 'bug') bug_one = create(:issue, title: "Frontend", project: project) bug_two = create(:issue, title: "Bug 2", project: project) |