Sha256: 869bf4b3dbda0523177dba0f89706264d82bc87407c2903654bc325270728193

Contents?: true

Size: 282 Bytes

Versions: 3

Compression:

Stored size: 282 Bytes

Contents

require 'rails_helper'

RSpec.describe Peoplefinder::InformationRequest, type: :model do
  it { should belong_to(:recipient) }
  it { should validate_presence_of(:recipient_id) }
  it { should validate_presence_of(:sender_email) }
  it { should validate_presence_of(:message) }
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
peoplefinder-0.1.1 spec/models/peoplefinder/information_request_spec.rb
peoplefinder-0.1.0 spec/models/peoplefinder/information_request_spec.rb
peoplefinder-0.0.2 spec/models/peoplefinder/information_request_spec.rb