spec/language/python_spec.rb in lint_trap-0.0.15 vs spec/language/python_spec.rb in lint_trap-0.0.16
- old
+ new
@@ -1,11 +1,10 @@
require 'spec_helper'
describe LintTrap::Language::Python do
- subject(:language){described_class.new}
+ subject(:language){LintTrap::Language.find('Python')}
it_behaves_like 'language'
its(:name){is_expected.to eq('Python')}
its(:linters){is_expected.to eq([LintTrap::Linter::PyLint.new])}
- it{is_expected.to be_known}
end