Wrap ChecksImport spec examples in a single describe block (for clearer spec report output)
This commit is contained in:
parent
205a99c56a
commit
8275b56d54
1 changed files with 28 additions and 26 deletions
|
@ -1,4 +1,5 @@
|
|||
RSpec.shared_examples 'ApplicationModel::ChecksImport' do
|
||||
describe '#id (for referential integrity during OTRS/Zendesk import)' do
|
||||
subject { build(described_class.name.underscore, id: unused_id) }
|
||||
let(:unused_id) { (described_class.pluck(:id).max || 1) * 2 }
|
||||
|
||||
|
@ -40,3 +41,4 @@ RSpec.shared_examples 'ApplicationModel::ChecksImport' do
|
|||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue