Sha256: 2e4791bcf6b370b7d04f85c0ff1e1bacf9157ed3a2572da4cb97926e2ab568cb
Contents?: true
Size: 556 Bytes
Versions: 14
Compression:
Stored size: 556 Bytes
Contents
require 'rails_helper' require 'byebug' RSpec.describe KepplerFrontend::View, type: :model do context 'database' do context 'columns' do it { should have_db_column(:name).of_type(:string) } it { should have_db_column(:url).of_type(:string) } it { should have_db_column(:method).of_type(:string) } it { should have_db_column(:format_result).of_type(:string) } it { should have_db_column(:active).of_type(:boolean) } end context 'assosiations' do it { should have_many(:view_callbacks) } end end end
Version data entries
14 entries across 14 versions & 1 rubygems