fixed cuke for new icons

pull/722/head
Christian Ratz 11 years ago
parent 99ba216373
commit e2a839dc24
  1. 2
      features/step_definitions/timelines_then_steps.rb

@ -134,7 +134,7 @@ Then(/^the "([^"]*)" row should (not )?be marked as allowing associations$/) do
should_be_visible = !negation
table_row = page.all(:css, "table.list tbody tr td", :text => title).first.find(:xpath, "./ancestor::tr")
nodes = table_row.all(:css, '.timelines-pt-allows_association img[alt=checked]')
nodes = table_row.all(:css, '.timelines-pt-allows_association span.icon-yes')
if should_be_visible
nodes.should_not be_empty
else

Loading…
Cancel
Save