spec/factories.rb in keikokuc-0.0.3 vs spec/factories.rb in keikokuc-0.1
- old
+ new
@@ -4,7 +4,16 @@
message 'Your database is over limits'
target_name 'cloudy-skies-243'
severity 'info'
account_email 'harold@heroku.com'
+
+ initialize_with { new(attributes) }
+ end
+
+ factory :notification_list, class: Keikokuc::NotificationList do
+ user 'user@example.com'
+ password 'pass'
+
+ initialize_with { new(attributes) }
end
end