Sha256: 602a351265f658e66df32d08d442e8b894973a07a4da7ad4aa459ee25a6dc210
Contents?: true
Size: 456 Bytes
Versions: 43
Compression:
Stored size: 456 Bytes
Contents
Given /^the following catalog_indices:$/ do |catalog_indices| CatalogIndex.create!(catalog_indices.hashes) end When /^I delete the (\d+)(?:st|nd|rd|th) catalog_index$/ do |pos| visit catalog_indices_url within("table tr:nth-child(#{pos.to_i+1})") do click_link "Destroy" end end Then /^I should see the following catalog_indices:$/ do |expected_catalog_indices_table| expected_catalog_indices_table.diff!(tableish('table tr', 'td,th')) end
Version data entries
43 entries across 43 versions & 2 rubygems