Sha256: 14af93dbfbb56c871aa21f7aa006052fe693175edf92d2b77c771d0f7c4cea27
Contents?: true
Size: 604 Bytes
Versions: 19
Compression:
Stored size: 604 Bytes
Contents
When /^I visit the blog page$/ do visit '/my-blog/' end When /^I visit the blog search page$/ do visit '/my-blog/search' end When /^I visit the blog archive page$/ do visit '/my-blog/archive' end When /^I visit the blog RSS feed$/ do visit Blog.first.feed_address end Given /^I have a blog$/ do Blog.destroy_all Blog.create(:title => 'Default Blog', :desired_slug => 'my-blog', :description => 'My blog description') end Given /the following blog posts exist:/ do |table| table.hashes.each{ |hash| Blog.first.posts.create hash } end Given /^no blogs exist$/ do Blog.destroy_all end
Version data entries
19 entries across 19 versions & 1 rubygems