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

Version Path
hydra-head-4.1.3 test_support/features/step_definitions/catalog_index_steps.rb
hydra-head-4.1.2 test_support/features/step_definitions/catalog_index_steps.rb
atrium-0.0.1 test_support/tmp/step_definitions/catalog_index_steps.rb
hydra-head-4.1.1 test_support/features/step_definitions/catalog_index_steps.rb
atrium-0.0.1.alpha test_support/tmp/step_definitions/catalog_index_steps.rb
hydra-head-4.1.0 test_support/features/step_definitions/catalog_index_steps.rb
hydra-head-4.0.3 test_support/features/step_definitions/catalog_index_steps.rb
hydra-head-4.0.2 test_support/features/step_definitions/catalog_index_steps.rb
hydra-head-4.0.1 test_support/features/step_definitions/catalog_index_steps.rb
hydra-head-4.0.0 test_support/features/step_definitions/catalog_index_steps.rb
hydra-head-4.0.0.rc6 test_support/features/step_definitions/catalog_index_steps.rb
hydra-head-4.0.0.rc5 test_support/features/step_definitions/catalog_index_steps.rb
hydra-head-4.0.0.rc4 test_support/features/step_definitions/catalog_index_steps.rb
hydra-head-4.0.0.rc3 test_support/features/step_definitions/catalog_index_steps.rb
hydra-head-4.0.0.rc2 test_support/features/step_definitions/catalog_index_steps.rb
hydra-head-3.3.0 test_support/features/step_definitions/catalog_index_steps.rb
hydra-head-3.2.2 test_support/features/step_definitions/catalog_index_steps.rb
hydra-head-3.2.1 test_support/features/step_definitions/catalog_index_steps.rb
hydra-head-3.2.0 test_support/features/step_definitions/catalog_index_steps.rb
hydra-head-3.2.0.pre3 test_support/features/step_definitions/catalog_index_steps.rb