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