nesquena/gitdocs

View on GitHub
test/unit/settings_app_test.rb

Summary

Maintainability
A
0 mins
Test Coverage

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

describe Gitdocs::SettingsApp do
  include Rack::Test::Methods
  def app
    Gitdocs::SettingsApp
  end
Severity: Minor
Found in test/unit/settings_app_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. [29/25]
Open

  describe 'get /' do
    before do
      Gitdocs::Configuration
        .stubs(:web_frontend_port)
        .returns(1111)
Severity: Minor
Found in test/unit/settings_app_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/settings_app_test.rb by rubocop

There are no issues that match your filters.

Category
Status