Skip to content

Commit

Permalink
[FIX CI] features/examples/probleme2.feature:10
Browse files Browse the repository at this point in the history
  • Loading branch information
nimaai committed Mar 26, 2014
1 parent f81d084 commit b06b904
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion features/step_definitions/examples/probleme_steps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def open_inspection_for_line(line_id)
if @event == "hand_over"
@item = @ip.items.broken.first
step 'I add an item to the hand over'
@line_id = find(".line [data-assign-item][disabled]", match: :first).find(:xpath, "./../../..")[:"data-id"]
@line_id = find("input[value='#{@item.inventory_code}']").find(:xpath, "ancestor::div[@data-id]")["data-id"].to_i
elsif @event == "take_back"
@line_id = find(".line[data-line-type='item_line']", match: :first)[:"data-id"]
step 'markiere ich den Gegenstand als defekt'
Expand Down

0 comments on commit b06b904

Please sign in to comment.