mirror of
https://github.com/cmur2/dyndnsd.git
synced 2024-11-17 04:56:14 +01:00
gems: include rubocop-rspec and fix linting
This commit is contained in:
parent
1c1bcd253a
commit
5444782ead
@ -1,5 +1,6 @@
|
||||
require:
|
||||
- rubocop-rake
|
||||
- rubocop-rspec
|
||||
|
||||
AllCops:
|
||||
TargetRubyVersion: '2.5'
|
||||
@ -89,3 +90,9 @@ Style/SymbolArray:
|
||||
|
||||
Style/TrailingCommaInArrayLiteral:
|
||||
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 'rubocop', '~> 1.6.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'
|
||||
end
|
||||
|
@ -1,6 +1,6 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require_relative 'spec_helper'
|
||||
require_relative '../spec_helper'
|
||||
|
||||
describe Dyndnsd::Daemon do
|
||||
include Rack::Test::Methods
|
Loading…
Reference in New Issue
Block a user