Sha256: 0c16cb628b3fb583123f9a574af1dd3a23a8561afde3199216936b3e6c85c6ba

Contents?: true

Size: 804 Bytes

Versions: 13

Compression:

Stored size: 804 Bytes

Contents

Then /^I (should|should not) see "([^"]*)" in the file assets list$/ do |bool, arg|
  with_scope("#file_assets") do
    if bool == "should"
      step %{I should see "#{arg}"}
    else
      step %{I should not see "#{arg}"}
    end
  end
end


Then /^I should see a link to "([^"]*)" in the file assets list$/ do |link_name|
  with_scope("#file_assets") do
    step %{I should see a link called "#{link_name}"}
  end
end


Then /^I (should|should not) see a link to "([^"]*)" with label "([^"]*)" in the file assets list$/ do |bool, link_name, label_name|
  with_scope("#file_assets") do
    if bool == "should"
      step %{I should see a link to "#{link_name}" with label "#{label_name}"}
    else
      step %{I should not see a link to "#{link_name}" with label "#{label_name}"} 
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
hydra-head-4.0.0 test_support/features/step_definitions/file_list_steps.rb
hydra-head-4.0.0.rc6 test_support/features/step_definitions/file_list_steps.rb
hydra-head-4.0.0.rc5 test_support/features/step_definitions/file_list_steps.rb
hydra-head-4.0.0.rc4 test_support/features/step_definitions/file_list_steps.rb
hydra-head-4.0.0.rc3 test_support/features/step_definitions/file_list_steps.rb
hydra-head-4.0.0.rc2 test_support/features/step_definitions/file_list_steps.rb
hydra-head-3.3.0 test_support/features/step_definitions/file_list_steps.rb
hydra-head-3.2.2 test_support/features/step_definitions/file_list_steps.rb
hydra-head-3.2.1 test_support/features/step_definitions/file_list_steps.rb
hydra-head-3.2.0 test_support/features/step_definitions/file_list_steps.rb
hydra-head-3.2.0.pre3 test_support/features/step_definitions/file_list_steps.rb
hydra-head-3.2.0.pre2 test_support/features/step_definitions/file_list_steps.rb
hydra-head-3.2.0.pre1 test_support/features/step_definitions/file_list_steps.rb