Sha256: 4d090e8d2b13b86c3c521ea4a497ab7107c1fbc4848d80921bb76fb57a1ba80b

Contents?: true

Size: 276 Bytes

Versions: 10

Compression:

Stored size: 276 Bytes

Contents

Given /^There are invites$/ do
  create_invites
end

def create_invites(inviteable = nil)
  inviteable ||= Factory(:user)
  invite = Factory(:invite, :inviteable => inviteable)
  child = Factory(:invite, :inviteable => inviteable)
  child.move_to_child_of(invite)
  invite
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
muck-invites-0.1.12 test/rails_root/features/step_definitions/comment_steps.rb
muck-invites-0.1.11 test/rails_root/features/step_definitions/comment_steps.rb
muck-invites-0.1.10 test/rails_root/features/step_definitions/comment_steps.rb
muck-invites-0.1.7 test/rails_root/features/step_definitions/comment_steps.rb
muck-invites-0.1.6 test/rails_root/features/step_definitions/comment_steps.rb
muck-invites-0.1.5 test/rails_root/features/step_definitions/comment_steps.rb
muck-invites-0.1.4 test/rails_root/features/step_definitions/comment_steps.rb
muck-invites-0.1.3 test/rails_root/features/step_definitions/comment_steps.rb
muck-invites-0.1.2 test/rails_root/features/step_definitions/comment_steps.rb
muck-invites-0.1.1 test/rails_root/features/step_definitions/comment_steps.rb