scinote-web/spec/models/settings_spec.rb

13 lines
266 B
Ruby
Raw Normal View History

2017-08-30 00:49:07 +08:00
require 'rails_helper'
describe Settings, type: :model do
it 'should be of class Settings' do
expect(subject.class).to eq Settings
end
describe 'Database table' do
it { should have_db_column :type }
it { should have_db_column :values }
end
end