mirror of
https://github.com/cmur2/dyndnsd.git
synced 2024-12-22 00:54:22 +01:00
gems: include rubocop-rspec and fix linting
This commit is contained in:
parent
1c1bcd253a
commit
5444782ead
@ -1,5 +1,6 @@
|
|||||||
require:
|
require:
|
||||||
- rubocop-rake
|
- rubocop-rake
|
||||||
|
- rubocop-rspec
|
||||||
|
|
||||||
AllCops:
|
AllCops:
|
||||||
TargetRubyVersion: '2.5'
|
TargetRubyVersion: '2.5'
|
||||||
@ -89,3 +90,9 @@ Style/SymbolArray:
|
|||||||
|
|
||||||
Style/TrailingCommaInArrayLiteral:
|
Style/TrailingCommaInArrayLiteral:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|
||||||
|
RSpec/ExampleLength:
|
||||||
|
Max: 20
|
||||||
|
|
||||||
|
RSpec/MultipleExpectations:
|
||||||
|
Max: 20
|
||||||
|
@ -42,5 +42,6 @@ Gem::Specification.new do |s|
|
|||||||
s.add_development_dependency 'rspec'
|
s.add_development_dependency 'rspec'
|
||||||
s.add_development_dependency 'rubocop', '~> 1.6.1'
|
s.add_development_dependency 'rubocop', '~> 1.6.1'
|
||||||
s.add_development_dependency 'rubocop-rake', '~> 0.5.1'
|
s.add_development_dependency 'rubocop-rake', '~> 0.5.1'
|
||||||
|
s.add_development_dependency 'rubocop-rspec', '~> 2.1.0'
|
||||||
s.add_development_dependency 'solargraph', '~> 0.40.0'
|
s.add_development_dependency 'solargraph', '~> 0.40.0'
|
||||||
end
|
end
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require_relative 'spec_helper'
|
require_relative '../spec_helper'
|
||||||
|
|
||||||
describe Dyndnsd::Daemon do
|
describe Dyndnsd::Daemon do
|
||||||
include Rack::Test::Methods
|
include Rack::Test::Methods
|
Loading…
Reference in New Issue
Block a user