Sha256: 66b80f9d82094803fd584ea273076c6c734a8c68f2966a1f0f936c15665b632d

Contents?: true

Size: 464 Bytes

Versions: 4

Compression:

Stored size: 464 Bytes

Contents

FactoryGirl.define do
  factory :notification, class: Keikokuc::Notification do
    skip_create

    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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
keikokuc-0.4 spec/factories.rb
keikokuc-0.3 spec/factories.rb
keikokuc-0.2 spec/factories.rb
keikokuc-0.1 spec/factories.rb