nesquena/gitdocs

View on GitHub
test/unit/gitdocs_test.rb

Summary

Maintainability
A
0 mins
Test Coverage

Block has too many lines. [71/25]
Open

describe 'Gitdocs' do
  describe '.log_path' do
    subject { Gitdocs.log_path }
    before do
      Gitdocs::Initializer.stubs(:root_dirname).returns(:root_dirname)
Severity: Minor
Found in test/unit/gitdocs_test.rb by rubocop

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

  describe 'log wrappers' do
    let(:logger) { stubs('Logger') }

    before do
      Gitdocs::Initializer.stubs(:foreground).returns(foreground)
Severity: Minor
Found in test/unit/gitdocs_test.rb by rubocop

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

# -*- encoding : utf-8 -*-
Severity: Minor
Found in test/unit/gitdocs_test.rb by rubocop

There are no issues that match your filters.

Category
Status