Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- message = FactoryGirl.create(:message_delayed_action)
- message_properties = [
- {
- "name"=>"Some Message",
- "action_id"=>SuccessPlan::Action.first,
- "success_plan_id"=>SuccessPlan::Action.first.success_plan.id,
- "success_plan_name"=>SuccessPlan::Action.first.success_plan.name.to_s
- }
- ]
- inapp = FactoryGirl.build(
- :message_inapp, message_id: message.id,
- account_user: "#{Account.first.id}#{Account.first.users.id}",
- account_id: Account.first.id,
- user_id: Account.first.users.id
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement