diaspora/features/step_definitions/template_steps.rb
2012-04-04 19:20:00 -07:00

12 lines
No EOL
395 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
lambda{ @templates_seen = visit_posts_and_collect_template_names(@me)}.should_not raise_error
end
When /^I should have seen all of my posts displayed with the correct template$/ do
pending
@templates_seen.should =~ TemplatePicker.jsonified_templates
end