Sha256: cc132b68cccb96f3d9d201ac14ad809b681883fff5a650e03656fa2ecf5a4d84
Contents?: true
Size: 328 Bytes
Versions: 127
Compression:
Stored size: 328 Bytes
Contents
require 'spec_helper' RSpec.describe Account, type: :model do let(:subject) { FactoryGirl.create(:account) } describe 'validations' do it { should validate_presence_of(:canvas_id) } it { should validate_uniqueness_of(:canvas_id) } end describe 'associations' do it { should have_many(:groups) } end end
Version data entries
127 entries across 127 versions & 1 rubygems