spec/language/ruby_spec.rb in lint_trap-0.0.8 vs spec/language/ruby_spec.rb in lint_trap-0.0.9
- old
+ new
@@ -1,8 +1,10 @@
require 'spec_helper'
describe LintTrap::Language::Ruby do
subject(:language){described_class.new}
+ it_behaves_like 'language'
+
its(:name){is_expected.to eq('Ruby')}
its(:linters){is_expected.to eq([LintTrap::Linter::RuboCop.new])}
end