2019-02-26 11:00:46 +00:00
|
|
|
require 'models/application_model/can_assets_examples'
|
|
|
|
require 'models/application_model/can_associations_examples'
|
2019-06-27 10:01:40 +00:00
|
|
|
require 'models/application_model/can_latest_change_examples'
|
2019-10-21 10:44:52 +00:00
|
|
|
require 'models/application_model/can_lookup_examples'
|
2019-01-22 16:35:01 +00:00
|
|
|
require 'models/application_model/checks_import_examples'
|
|
|
|
|
2019-02-26 11:00:46 +00:00
|
|
|
RSpec.shared_examples 'ApplicationModel' do |options = {}|
|
|
|
|
include_examples 'ApplicationModel::CanAssets', options[:can_assets]
|
|
|
|
include_examples 'ApplicationModel::CanAssociations'
|
2019-06-27 10:01:40 +00:00
|
|
|
include_examples 'ApplicationModel::CanLatestChange'
|
2019-10-21 10:44:52 +00:00
|
|
|
include_examples 'ApplicationModel::CanLookup'
|
2019-02-04 09:47:35 +00:00
|
|
|
include_examples 'ApplicationModel::ChecksImport'
|
2019-01-22 16:35:01 +00:00
|
|
|
end
|