spec/phare/check_suite_spec.rb in phare-0.7.1 vs spec/phare/check_suite_spec.rb in phare-1.0.0

- old
+ new

@@ -43,22 +43,22 @@ let(:suite) { described_class.new(options) } let(:skip) { [] } let(:only) { [] } context 'with "only" option' do - let(:only) { [:rubocop, :foo, :jshint] } - it { expect(suite.checks).to eql [:rubocop, :jshint] } + let(:only) { [:rubocop, :foo, :eslint] } + it { expect(suite.checks).to eql [:rubocop, :eslint] } end context 'with "skip" option' do - let(:skip) { [:scsslint, :foo, :jshint] } - it { expect(suite.checks).to eql [:rubocop, :jscs] } + let(:skip) { [:stylelint, :foo] } + it { expect(suite.checks).to eql [:rubocop, :eslint] } end context 'with both "only" and "skip" option' do - let(:skip) { [:scsslint, :rubocop] } - let(:only) { [:scsslint, :foo, :jshint] } - it { expect(suite.checks).to eql [:scsslint, :jshint] } + let(:skip) { [:stylelint, :rubocop] } + let(:only) { [:stylelint, :foo, :eslint] } + it { expect(suite.checks).to eql [:stylelint, :eslint] } end context 'with both "only" and "skip" option' do it { expect(suite.checks).to eql Phare::CheckSuite::DEFAULT_CHECKS.keys } end