* Add fakeredis gem * Mock Pusher::PushNotifications in specs * Remove Redis from Travis * Add Android tests to ConsumerApp specs * Use mock for push notification tests and refactor ConsumerApp and Device code * Fix remaining broken specs * Use symbols * Cleanup rpush helpers * Pusher::PushNotifications is no more * Use human friendly platform in Admin::ConsumerApps index page
8 lines
219 B
Ruby
8 lines
219 B
Ruby
FactoryBot.define do
|
|
factory :consumer_app do
|
|
auth_key { Faker::Alphanumeric.alpha(number: 10) }
|
|
active { true }
|
|
platform { :ios }
|
|
app_bundle { Faker::Internet.domain_name(subdomain: true) }
|
|
end
|
|
end
|