diff options
author | Joachim Filip Ignacy Bartosik <jbartosik@gmail.com> | 2010-08-13 17:10:49 +0200 |
---|---|---|
committer | Joachim Filip Ignacy Bartosik <jbartosik@gmail.com> | 2010-08-16 13:35:14 +0200 |
commit | 51a670e32ba30dc46bf74da98cbdb8594f71718d (patch) | |
tree | b116343fe5a9255f1f481e40efdb814daf293b2d /features | |
parent | Simplify Question permissions (diff) | |
download | recruiting-webapp-51a670e32ba30dc46bf74da98cbdb8594f71718d.tar.gz recruiting-webapp-51a670e32ba30dc46bf74da98cbdb8594f71718d.tar.bz2 recruiting-webapp-51a670e32ba30dc46bf74da98cbdb8594f71718d.zip |
Move Role where it belongs to app/rich_types
Diffstat (limited to 'features')
-rw-r--r-- | features/step_definitions/users_steps.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/features/step_definitions/users_steps.rb b/features/step_definitions/users_steps.rb index 4493402..932e538 100644 --- a/features/step_definitions/users_steps.rb +++ b/features/step_definitions/users_steps.rb @@ -8,7 +8,7 @@ end Given /^(?:|a )user "([^\"]*)" who is "([^\"]*)"$/ do |user, role| Given "user \"#{user}\"" - @user.role = Role.new(role) + @user.role = RichTypes::Role.new(role) @user.save! end |