Sha256: 417b35bc75eac18bfef297327df6696d6ca1c095284d4cac47eef647b6800307
Contents?: true
Size: 431 Bytes
Versions: 30
Compression:
Stored size: 431 Bytes
Contents
require 'rails_helper' require 'byebug' RSpec.describe Appearance, type: :model do context 'database' do context 'columns' do it { should have_db_column(:image_background).of_type(:string) } it { should have_db_column(:theme_name).of_type(:string) } it { should have_db_column(:setting_id).of_type(:string) } end context 'assosiations' do it { should belong_to(:setting) } end end end
Version data entries
30 entries across 30 versions & 1 rubygems