Sha256: 4b1a419324e82e312abdf2a718408ee6f8464c5ad8a068b1b7b182a3f4bf70d8

Contents?: true

Size: 290 Bytes

Versions: 27

Compression:

Stored size: 290 Bytes

Contents

Given /^There are comments$/ do
  create_comments
end

def create_comments(commentable = nil)
  commentable ||= Factory(:user)
  comment = Factory(:comment, :commentable => commentable)
  child = Factory(:comment, :commentable => commentable)
  child.move_to_child_of(comment)
  comment
end

Version data entries

27 entries across 27 versions & 5 rubygems

Version Path
muck-activities-3.2.2 test/features/step_definitions/comment_steps.rb
muck-activities-3.2.1 test/features/step_definitions/comment_steps.rb
muck-contents-3.0.2 test/rails_test/features/step_definitions/comment_steps.rb
muck-groups-3.0.0 test/rails_test/features/step_definitions/comment_steps.rb
muck-contents-3.0.1 test/rails_test/features/step_definitions/comment_steps.rb
muck-comments-3.0.2 test/rails_test/features/step_definitions/comment_steps.rb
muck-activities-3.0.1 test/rails_test/features/step_definitions/comment_steps.rb
muck-raker-3.0.0 test/rails_test/features/step_definitions/comment_steps.rb
muck-contents-3.0.0 test/rails_test/features/step_definitions/comment_steps.rb
muck-activities-3.0.0 test/rails_test/features/step_definitions/comment_steps.rb
muck-comments-3.0.1 test/rails_test/features/step_definitions/comment_steps.rb
muck-comments-3.0.0 test/rails_test/features/step_definitions/comment_steps.rb
muck-comments-0.1.21 test/rails_root/features/step_definitions/comment_steps.rb
muck-comments-0.1.20 test/rails_root/features/step_definitions/comment_steps.rb
muck-comments-0.1.19 test/rails_root/features/step_definitions/comment_steps.rb
muck-comments-0.1.18 test/rails_root/features/step_definitions/comment_steps.rb
muck-comments-0.1.17 test/rails_root/features/step_definitions/comment_steps.rb
muck-comments-0.1.16 test/rails_root/features/step_definitions/comment_steps.rb
muck-comments-0.1.15 test/rails_root/features/step_definitions/comment_steps.rb
muck-comments-0.1.14 test/rails_root/features/step_definitions/comment_steps.rb