test/unit/settings_app_test.rb
Block has too many lines. [64/25] Open
Open
describe Gitdocs::SettingsApp do
include Rack::Test::Methods
def app
Gitdocs::SettingsApp
end
- 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. [29/25] Open
Open
describe 'get /' do
before do
Gitdocs::Configuration
.stubs(:web_frontend_port)
.returns(1111)
- 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