spec/tests/tasks/check/rubocop/run_spec.rb in hexx-suit-2.2.3 vs spec/tests/tasks/check/rubocop/run_spec.rb in hexx-suit-2.3.0

- old
+ new

@@ -1,13 +1,9 @@ # encoding: utf-8 describe "Rake::Task['check:rubocop:run']", :tasks do - # The {#commands} variable is defined in the spec/support/config/tasks.rb - # It collects the list of commands, that has been sent to system by - # any instance of Hexx::RSpec::System utility. - let(:task) { Rake::Task["check:rubocop:run"] } shared_context "without rubocop.yml" do let(:options) do @@ -42,11 +38,11 @@ shared_examples "metric runner" do let(:command) do %W( rubocop - -f #{ options['format'] } - -o #{ options['output'] } + -f #{options['format']} + -o #{options['output']} -c config/metrics/rubocop.yml ).join(" ") end it "[runs rubocop]" do