Skip to content

Commit

Permalink
add path and line the step defined at to stepdefs.json
Browse files Browse the repository at this point in the history
  • Loading branch information
moro authored and jmerrifield committed Jan 21, 2012
1 parent 231c721 commit aa228bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/cucumber/runtime.rb
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ def write_stepdefs_json
end
end
end
stepdef_hash['file_colon_line'] = stepdef.file_colon_line
stepdef_hash['steps'] = steps.uniq.sort {|a,b| a['name'] <=> b['name']}
stepdefs << stepdef_hash
end
Expand Down

0 comments on commit aa228bf

Please sign in to comment.