Sha256: c7cf91c5d319a73c81846fe52803bfa81161c614a168e29c3d91790389666e22

Contents?: true

Size: 371 Bytes

Versions: 24

Compression:

Stored size: 371 Bytes

Contents

require 'rails_helper'

module MessageTrain
  RSpec.describe Unsubscribe do
    include_context 'loaded site'

    describe 'Model' do
      # Relationships
      it { should belong_to :recipient }
      it { should belong_to :from }
      # Validations
      it { should validate_presence_of :recipient }
      it { should validate_presence_of :from }
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
message_train-0.5.1 spec/models/message_train/unsubscribe_spec.rb
message_train-0.5.0 spec/models/message_train/unsubscribe_spec.rb
message_train-0.4.6 spec/models/message_train/unsubscribe_spec.rb
message_train-0.4.5 spec/models/message_train/unsubscribe_spec.rb
message_train-0.4.4 spec/models/message_train/unsubscribe_spec.rb
message_train-0.4.3 spec/models/message_train/unsubscribe_spec.rb
message_train-0.4.2 spec/models/message_train/unsubscribe_spec.rb
message_train-0.4.1 spec/models/message_train/unsubscribe_spec.rb
message_train-0.4.0 spec/models/message_train/unsubscribe_spec.rb
message_train-0.3.1 spec/models/message_train/unsubscribe_spec.rb
message_train-0.3.0 spec/models/message_train/unsubscribe_spec.rb
message_train-0.2.12 spec/models/message_train/unsubscribe_spec.rb
message_train-0.2.11 spec/models/message_train/unsubscribe_spec.rb
message_train-0.2.10 spec/models/message_train/unsubscribe_spec.rb
message_train-0.2.9 spec/models/message_train/unsubscribe_spec.rb
message_train-0.2.8 spec/models/message_train/unsubscribe_spec.rb
message_train-0.2.7 spec/models/message_train/unsubscribe_spec.rb
message_train-0.2.6 spec/models/message_train/unsubscribe_spec.rb
message_train-0.2.5 spec/models/message_train/unsubscribe_spec.rb
message_train-0.2.4 spec/models/message_train/unsubscribe_spec.rb