Sha256: 675c005550f4600dd4a26fa35c6348281ddbe1ebbdd3f80a38f05866511f1c0f
Contents?: true
Size: 531 Bytes
Versions: 1
Compression:
Stored size: 531 Bytes
Contents
require 'factory_girl' require 'faker' require 'event_aggregator' # Public: Not really used. Might not be needed at all. The same # goes for FactoryGirl in general. Might not be needed. # class DummyListener include EventAggregator::Listener end FactoryGirl.define do factory :listener, class: DummyListener do end factory :message do message_type { Faker::Name.name } data { Faker::Commerce.product_name } #TODO: This bracket should be unnescecary #initialize_with(Faker::Name.name, Faker::Name.name) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
event_aggregator-0.0.2 | spec/factories.rb |