Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
6 lines (6 sloc) 294 Bytes
And /^Alice has a post mentioning Bob$/ do
alice = User.find_by_email 'alice@alice.alice'
bob = User.find_by_email 'bob@bob.bob'
aspect = alice.aspects.where(:name => "Besties").first
alice.post(:status_message, :text => "@{Bob Jones; #{bob.person.diaspora_handle}}", :to => aspect)
end
Something went wrong with that request. Please try again.