Sha256: 0e6106128226bc74df9ba54412e5a994e659cb0172cb684e71887900088b6d79

Contents?: true

Size: 385 Bytes

Versions: 8

Compression:

Stored size: 385 Bytes

Contents

def rails_best_practices_cmd
  'rails_best_practices --without-color --silent --spec --test --features .'
end

def executing_rails_best_practices
  "executing '#{rails_best_practices_cmd}'"
end

def rails_best_practices_output
  `cd tmp/aruba/#{@projectname}/ && #{rails_best_practices_cmd}`
    .split("\n")
    .reject { |line| line.match(/Found \d+ warnings/) }
    .join("\n")
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
warder-0.3.2 features/step_definitions/checks_for_rails_best_practices_steps.rb
warder-0.3.1 features/step_definitions/checks_for_rails_best_practices_steps.rb
warder-0.3.0 features/step_definitions/checks_for_rails_best_practices_steps.rb
warder-0.2.4 features/step_definitions/checks_for_rails_best_practices_steps.rb
warder-0.2.3 features/step_definitions/checks_for_rails_best_practices_steps.rb
warder-0.2.2 features/step_definitions/checks_for_rails_best_practices_steps.rb
warder-0.2.1 features/step_definitions/checks_for_rails_best_practices_steps.rb
warder-0.2.0 features/step_definitions/checks_for_rails_best_practices_steps.rb