Sha256: aa2655361dd865fac44f5d2c42911297d01e929e6ba7682b4f7391c5a5cf40c9
Contents?: true
Size: 351 Bytes
Versions: 30
Compression:
Stored size: 351 Bytes
Contents
require 'rails_helper' require 'byebug' RSpec.describe Permission, type: :model do context 'database' do context 'columns' do it { should have_db_column(:modules).of_type(:jsonb) } it { should have_db_column(:role_id).of_type(:integer) } end context 'assosiations' do it { should belong_to(:role) } end end end
Version data entries
30 entries across 30 versions & 1 rubygems