demarches-normaliennes/spec/models/module_api_carto_spec.rb

14 lines
345 B
Ruby
Raw Normal View History

2015-12-07 11:29:34 +01:00
require 'spec_helper'
describe ModuleAPICarto do
describe 'assocations' do
it { is_expected.to belong_to(:procedure) }
end
describe 'attributes' do
it { is_expected.to have_db_column(:use_api_carto) }
it { is_expected.to have_db_column(:quartiers_prioritaires) }
it { is_expected.to have_db_column(:cadastre) }
2015-12-07 11:29:34 +01:00
end
end