Skip to content

Commit 1c09819

Browse files
committed
Adjust spec to allow pending Enabled state
1 parent f1048eb commit 1c09819

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

spec/project/default_config_spec.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ def cop_configuration(config_key)
7070
expect(cop_configuration('Description')).to all(end_with('.'))
7171
end
7272

73-
it 'includes Enabled: true for every cop' do
74-
expect(cop_configuration('Enabled')).to all(be(true).or(be(false)))
73+
it 'includes a valid Enabled for every cop' do
74+
expect(cop_configuration('Enabled'))
75+
.to all be(true).or(be(false)).or(eq('pending'))
7576
end
7677
end

0 commit comments

Comments
 (0)