Sha256: 5848243e5b5b73f73a0cca54afe9c130b7dc4ab07c56cb835269095dc362855c
Contents?: true
Size: 518 Bytes
Versions: 8
Compression:
Stored size: 518 Bytes
Contents
require 'rails_helper' RSpec.describe Group do describe 'Model' do # MessageTrain Gem, and Rolify Gem by extension it { should have_many(:roles) } # MessageTrain Gem it { should have_many(:receipts) } end describe 'Scopes and Methods from Message Train' do include_context 'loaded site' describe '#conversations' do subject { first_group.conversations(:in) } its(:first) { should be_a MessageTrain::Conversation } its(:count) { should eq 1 } end end end
Version data entries
8 entries across 8 versions & 1 rubygems