test/lib/rubycritic/analysers/smells/flog_test.rb in rubycritic-2.9.2 vs test/lib/rubycritic/analysers/smells/flog_test.rb in rubycritic-2.9.3
- old
+ new
@@ -1,13 +1,13 @@
require 'analysers_test_helper'
require 'rubycritic/analysers/smells/flog'
-describe Rubycritic::Analyser::FlogSmells do
+describe RubyCritic::Analyser::FlogSmells do
context 'when analysing a complex file' do
before do
@analysed_module = AnalysedModuleDouble.new(path: 'test/samples/flog/smelly.rb', smells: [])
analysed_modules = [@analysed_module]
- Rubycritic::Analyser::FlogSmells.new(analysed_modules).run
+ RubyCritic::Analyser::FlogSmells.new(analysed_modules).run
end
it 'detects its smells' do
@analysed_module.smells.length.must_equal 1
end