Fix coding standards
This commit is contained in:
parent
0ad00f3b77
commit
98bfa6c218
@ -7,9 +7,9 @@ module Uh
|
||||
|
||||
attr_reader :output, :logger
|
||||
|
||||
def initialize output, logger_: Logger.new(output)
|
||||
def initialize output, logger: Logger.new(output)
|
||||
@output = output
|
||||
@logger = logger_
|
||||
@logger = logger
|
||||
end
|
||||
end
|
||||
end
|
||||
|
@ -3,7 +3,7 @@ module Uh
|
||||
RSpec.describe Env do
|
||||
let(:output) { StringIO.new }
|
||||
let(:logger) { Logger.new(StringIO.new) }
|
||||
subject(:env) { described_class.new output, logger_: logger }
|
||||
subject(:env) { described_class.new output, logger: logger }
|
||||
|
||||
describe '#logger' do
|
||||
it 'returns a logger' do
|
||||
|
Loading…
x
Reference in New Issue
Block a user