diff options
Diffstat (limited to 'features/step_definitions/posts_steps.rb')
-rw-r--r-- | features/step_definitions/posts_steps.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/features/step_definitions/posts_steps.rb b/features/step_definitions/posts_steps.rb index 6e3661333..d9879e72a 100644 --- a/features/step_definitions/posts_steps.rb +++ b/features/step_definitions/posts_steps.rb @@ -13,3 +13,9 @@ Given /^"([^"]*)" has a public post with text "([^"]*)"$/ do |email, text| user = User.find_by_email(email) user.post(:status_message, :text => text, :public => true, :to => user.aspects) end + +Given /^"([^"]*)" has a non public post with text "([^"]*)"$/ do |email, text| + user = User.find_by_email(email) + user.post(:status_message, :text => text, :public => false, :to => user.aspects) +end + |