Sha256: aed65a8e8ae428b8d907117da212e08e3167cee53fe1018577be5c8a746f1bc1
Contents?: true
Size: 469 Bytes
Versions: 3
Compression:
Stored size: 469 Bytes
Contents
require 'spec_helper' describe LintTrap::Language::Unknown do subject(:language){described_class.new} it_behaves_like 'language' context 'when no name is passed' do its(:name){is_expected.to eq('Unknown')} end context 'when a name is passed' do subject(:language){described_class.new('Huh')} its(:name){is_expected.to eq('Huh')} end its(:linters){is_expected.to eq([LintTrap::Linter::Unknown.new])} it{is_expected.to_not be_known} end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
lint_trap-0.0.15 | spec/language/unknown_spec.rb |
lint_trap-0.0.14 | spec/language/unknown_spec.rb |
lint_trap-0.0.13 | spec/language/unknown_spec.rb |