Sha256: a8c34e5f7aa7355d2a3ba18f622d34fbf87f585bab1c48c4ead1ca08906048a1

Contents?: true

Size: 325 Bytes

Versions: 41

Compression:

Stored size: 325 Bytes

Contents

# This is borrowed from blacklight's record_view_steps.rb
Then /^I (should|should not) see an? "([^\"]*)" element containing "([^\"]*)"$/ do |bool,elem,content|
  if bool == "should"
    page.should have_selector("#{elem}",:content => content)
  else
    page.should_not have_selector("#{elem}",:content => content)
  end
end

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
hydra-head-4.1.3 test_support/features/step_definitions/hydra_steps.rb
hydra-head-4.1.2 test_support/features/step_definitions/hydra_steps.rb
hydra-head-4.1.1 test_support/features/step_definitions/hydra_steps.rb
hydra-head-4.1.0 test_support/features/step_definitions/hydra_steps.rb
hydra-head-4.0.3 test_support/features/step_definitions/hydra_steps.rb
hydra-head-4.0.2 test_support/features/step_definitions/hydra_steps.rb
hydra-head-4.0.1 test_support/features/step_definitions/hydra_steps.rb
hydra-head-4.0.0 test_support/features/step_definitions/hydra_steps.rb
hydra-head-4.0.0.rc6 test_support/features/step_definitions/hydra_steps.rb
hydra-head-4.0.0.rc5 test_support/features/step_definitions/hydra_steps.rb
hydra-head-4.0.0.rc4 test_support/features/step_definitions/hydra_steps.rb
hydra-head-4.0.0.rc3 test_support/features/step_definitions/hydra_steps.rb
hydra-head-4.0.0.rc2 test_support/features/step_definitions/hydra_steps.rb
hydra-head-3.3.0 test_support/features/step_definitions/hydra_steps.rb
hydra-head-3.2.2 test_support/features/step_definitions/hydra_steps.rb
hydra-head-3.2.1 test_support/features/step_definitions/hydra_steps.rb
hydra-head-3.2.0 test_support/features/step_definitions/hydra_steps.rb
hydra-head-3.2.0.pre3 test_support/features/step_definitions/hydra_steps.rb
hydra-head-3.2.0.pre2 test_support/features/step_definitions/hydra_steps.rb
hydra-head-3.2.0.pre1 test_support/features/step_definitions/hydra_steps.rb