Sha256: 7be1a4dc8e5918e4c9e0912ccc9be8d85ac24390a50fa8e1224f7ead609244f3

Contents?: true

Size: 356 Bytes

Versions: 1

Compression:

Stored size: 356 Bytes

Contents

Then(/^warder detects code smells$/) do
  executing_reek_output = "executing 'reek .'"
  success_reek_output = `cd spec/fixtures/ && reek #{@filename}`
  step "the output should contain \"#{executing_reek_output}\""
  success_reek_output.split("\n").each do |string|
    step "the output should contain \"#{string.sub('spec/fixtures/', './')}\""
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
warder-0.0.5 features/step_definitions/detects_code_smells_steps.rb