diff options
author | Rémy Coutable <remy@rymai.me> | 2018-11-12 10:13:30 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-11-12 10:13:30 +0000 |
commit | e4b00acd64ea004d3e55114cf4a5e968d5dd18f3 (patch) | |
tree | fe465f46443eb4e342d310ae87604c8572213344 | |
parent | ca3e9b975922339b25cc7ca902c7c46e24ed1170 (diff) | |
parent | ade75c04f181a5598fe58d71b59e2af2f5a46fe9 (diff) | |
download | gitlab-ce-qa-xss-in-mentions-test.tar.gz |
Merge branch 'jprovazn-fix-status-spec' into 'master'qa-xss-in-mentions-test
Fix ./spec/features/issues/user_views_issue_spec.rb
Closes gitlab-ee#8390
See merge request gitlab-org/gitlab-ce!22976
-rw-r--r-- | spec/features/issues/user_views_issue_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/features/issues/user_views_issue_spec.rb b/spec/features/issues/user_views_issue_spec.rb index 117e5986f29..330b6f0e77a 100644 --- a/spec/features/issues/user_views_issue_spec.rb +++ b/spec/features/issues/user_views_issue_spec.rb @@ -1,9 +1,9 @@ require "spec_helper" describe "User views issue" do - set(:project) { create(:project_empty_repo, :public) } - set(:user) { create(:user) } - set(:issue) { create(:issue, project: project, description: "# Description header", author: user) } + let(:project) { create(:project_empty_repo, :public) } + let(:user) { create(:user) } + let(:issue) { create(:issue, project: project, description: "# Description header", author: user) } before do project.add_developer(user) |