Sha256: 1305f232138d3bee308c5d1380aa1da9961fc61fe445f2637268e4c43ec1030e

Contents?: true

Size: 1.08 KB

Versions: 6

Compression:

Stored size: 1.08 KB

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

Fabricator(ActivityFeed::Ohm::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

6 entries across 6 versions & 1 rubygems

Version Path
activity_feed-1.4.0 spec/fabricators/item_fabricator.rb
activity_feed-1.3.0 spec/fabricators/item_fabricator.rb
activity_feed-1.2.1 spec/fabricators/item_fabricator.rb
activity_feed-1.2 spec/fabricators/item_fabricator.rb
activity_feed-1.1.1 spec/fabricators/item_fabricator.rb
activity_feed-1.1.0 spec/fabricators/item_fabricator.rb