@@ -1,7 +1,11 @@
# frozen_string_literal: true
+task default: :full_test
+
require 'rubocop/rake_task'
RuboCop::RakeTask.new(:rubocop) do |t|
t.options = ['--display-cop-names']
end
+task full_test: [:rubocop]
@@ -17,7 +17,7 @@ module NeoInfra
class Accounts
attr_reader :accounts
- def initialize(cfg='config.yaml')
+ def initialize(cfg = 'config.yaml')
@accounts = YAML.load_file(
File.join(File.dirname(File.expand_path(__FILE__)),
'..', '..', cfg)