From 839957cf56acb905afc18605c0579d07083e0d37 Mon Sep 17 00:00:00 2001 From: Andrew8xx8 Date: Wed, 13 Feb 2013 15:48:16 +0400 Subject: Constants in Events looks good now --- features/steps/dashboard/dashboard.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'features/steps/dashboard/dashboard.rb') 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 -- cgit v1.2.1