Sha256: 3c8d54c298bd214aa0a54476d557510a8b7f1840d4f2ae3e8ef47dc899917e39
Contents?: true
Size: 511 Bytes
Versions: 5
Compression:
Stored size: 511 Bytes
Contents
require 'rails_helper' RSpec.describe Calendar, folder: :models do include_context 'loaded site' describe 'Model' do # Rolify Gem it { should have_many(:roles) } # Validations it { should validate_presence_of(:name) } it { should validate_presence_of(:slug) } # Relationships it { should have_many(:events) } end describe 'Class' do subject { Calendar } # FriendlyId Gem it { should respond_to(:friendly) } end describe 'Scopes and Methods' do end end
Version data entries
5 entries across 5 versions & 1 rubygems