test/unit/gitdocs_test.rb
Block has too many lines. [71/25] Open
Open
describe 'Gitdocs' do
describe '.log_path' do
subject { Gitdocs.log_path }
before do
Gitdocs::Initializer.stubs(:root_dirname).returns(:root_dirname)
- Read upRead up
- Exclude checks
This cop checks if the length of a block exceeds some maximum value. Comment lines can optionally be ignored. The maximum allowed length is configurable. The cop can be configured to ignore blocks passed to certain methods.
Block has too many lines. [61/25] Open
Open
describe 'log wrappers' do
let(:logger) { stubs('Logger') }
before do
Gitdocs::Initializer.stubs(:foreground).returns(foreground)
- Read upRead up
- Exclude checks
This cop checks if the length of a block exceeds some maximum value. Comment lines can optionally be ignored. The maximum allowed length is configurable. The cop can be configured to ignore blocks passed to certain methods.
Unnecessary utf-8 encoding comment. Open
Open
# -*- encoding : utf-8 -*-
- Exclude checks