Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZeger-Jan van de Weg <zegerjan@gitlab.com>2016-04-25 21:10:20 +0300
committerZeger-Jan van de Weg <zegerjan@gitlab.com>2016-05-10 13:03:13 +0300
commitdccf8a9fc8d4dde91942944f6b47387bfb13c380 (patch)
tree7574eea0adcc0cd46bf3d685fccec0d08c37b252 /spec/features/issues_spec.rb
parent4eb16290e4e95c0a9bcf3d01ecc8060d91eec021 (diff)
Add tests on Awardables and Award Emoji
Diffstat (limited to 'spec/features/issues_spec.rb')
-rw-r--r--spec/features/issues_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/issues_spec.rb b/spec/features/issues_spec.rb
index 1ce0024e93c..7da87c2d174 100644
--- a/spec/features/issues_spec.rb
+++ b/spec/features/issues_spec.rb
@@ -67,7 +67,7 @@ describe 'Issues', feature: true do
describe 'Issue info' do
it 'excludes award_emoji from comment count' do
issue = create(:issue, author: @user, assignee: @user, project: project, title: 'foobar')
- create(:upvote_note, noteable: issue)
+ create(:award_emoji, awardable: issue)
visit namespace_project_issues_path(project.namespace, project, assignee_id: @user.id)