summaryrefslogtreecommitdiff
path: root/features/steps/dashboard/dashboard.rb
diff options
context:
space:
mode:
authorAndrew8xx8 <avk@8xx8.ru>2013-02-13 15:48:16 +0400
committerAndrew8xx8 <avk@8xx8.ru>2013-02-13 15:48:16 +0400
commit839957cf56acb905afc18605c0579d07083e0d37 (patch)
tree26d360e900fbd31548f269fa62bc504b419c1398 /features/steps/dashboard/dashboard.rb
parentb9f8b4019073fe60515bda8947d9040b4b73ea38 (diff)
downloadgitlab-ce-839957cf56acb905afc18605c0579d07083e0d37.tar.gz
Constants in Events looks good now
Diffstat (limited to 'features/steps/dashboard/dashboard.rb')
-rw-r--r--features/steps/dashboard/dashboard.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/features/steps/dashboard/dashboard.rb b/features/steps/dashboard/dashboard.rb
index 8c13ad0e151..c6832056435 100644
--- a/features/steps/dashboard/dashboard.rb
+++ b/features/steps/dashboard/dashboard.rb
@@ -33,7 +33,7 @@ class Dashboard < Spinach::FeatureSteps
Event.create(
project: project,
author_id: user.id,
- action: Event::Joined
+ action: Event::JOINED
)
end
@@ -47,7 +47,7 @@ class Dashboard < Spinach::FeatureSteps
Event.create(
project: project,
author_id: user.id,
- action: Event::Left
+ action: Event::LEFT
)
end