Sha256: 63bcb37647571ee22b29160ce7655895b2ccda31e8352b65b1d3e31c692cbec3
Contents?: true
Size: 423 Bytes
Versions: 4
Compression:
Stored size: 423 Bytes
Contents
User.delete_all user1 = User.create!(:name => 'Max Mustermann') user2 = User.create!(:name => 'John Doe') user3 = User.create!(:name => 'Juan Lopez') Conversations::UserConversation.delete_all Conversations::Conversation.delete_all Conversations::Message.delete_all # uc1 = Conversations::UserConversation.new :user_id => user1.id, :to_tokens => "#{user2.id},#{user3.id}" # uc1.conversation :subject => 'Test' # uc1.save!
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
conversations-0.0.2.2 | spec/dummy/db/seeds.rb |
conversations-0.0.2.1 | spec/dummy/db/seeds.rb |
conversations-0.0.2 | spec/dummy/db/seeds.rb |
conversations-0.0.1 | spec/dummy/db/seeds.rb |