diaspora/features/step_definitions/template_steps.rb
2012-02-21 17:31:26 -08:00

11 lines
No EOL
351 B
Ruby

Given /^I have posts for each type of template$/ do
generate_post_of_each_template(@me)
end
Then /^I visit all of my posts$/ do
@templates_seen = visit_posts_and_collect_template_names(@me)
end
When /^I should have seen all of my posts displayed with the correct template$/ do
@templates_seen.should =~ TemplatePicker.jsonified_templates
end