Sha256: c598fc29e5546f1fd69d836799b074cac6d08ef9d8aeb91c765251a725db5668

Contents?: true

Size: 838 Bytes

Versions: 1

Compression:

Stored size: 838 Bytes

Contents

Fabricator(ActivityFeed::ActiveRecord::Item) do
  user_id { sequence(:user_id) }
  nickname { sequence(:nickname) { |i| "nickname_#{i}" } }
  type { 'activity' }
  title { 'item title' }
  text { 'feed item' }
  url { 'http://url' }
  icon { 'http://icon' }
  sticky { false }
end

Fabricator(ActivityFeed::Memory::Item) do
  user_id { sequence(:user_id) }
  nickname { sequence(:nickname) { |i| "nickname_#{i}" } }
  type { 'activity' }
  title { 'item title' }
  text { 'feed item' }
  url { 'http://url' }
  icon { 'http://icon' }
  sticky { false }
end

Fabricator(ActivityFeed::MongoMapper::Item) do
  user_id { sequence(:user_id) }
  nickname { sequence(:nickname) { |i| "nickname_#{i}" } }
  type { 'activity' }
  title { 'item title' }
  text { 'feed item' }
  url { 'http://url' }
  icon { 'http://icon' }
  sticky { false }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
activity_feed-1.0.0 spec/fabricators/item_fabricator.rb