Sha256: 9599dbcf5fea25145a2850bb335bd9976d68f6bfbac30446fc80a82ac24a81b4

Contents?: true

Size: 352 Bytes

Versions: 4

Compression:

Stored size: 352 Bytes

Contents

Given /there is at least one post tagged "([\w\s]+)"/ do |tag_name|
  Factory(:post, :tags => [Factory(:tag, :name => tag_name)])
end

Given /there is at least one post titled "([\w\s]+)"/ do |title|
  Factory(:post, :title => title)
end

Given /a post with comments exists/ do
  Factory(:post, :comments => [Factory(:comment), Factory(:comment)])
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
enki-engine-0.0.5 features/step_definitions/posts.rb
enki-engine-0.0.4 features/step_definitions/posts.rb
enki-engine-0.0.3 features/step_definitions/posts.rb
enki-engine-0.0.2 features/step_definitions/posts.rb