spec/factories.rb in event_aggregator-0.0.2 vs spec/factories.rb in event_aggregator-1.0.0.pre
- old
+ new
@@ -1,10 +1,10 @@
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
@@ -14,9 +14,9 @@
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
+ data { Faker::Commerce.product_name }
#initialize_with(Faker::Name.name, Faker::Name.name)
end
end
\ No newline at end of file