Sha256: ce40f2202cafeb762c3c8fcf5b94eeaca8d94aa832d7da6d8fe2f1b16780039a

Contents?: true

Size: 450 Bytes

Versions: 3

Compression:

Stored size: 450 Bytes

Contents

Then /^I should see the css file "([^"]*)"$/ do |path|
  Then %{I should see the css file "#{path}" of media "screen"}  
end

Then /^I should see the css file "([^"]*)" of media "([^"]*)"$/ do |path, media|
  page.should have_xpath("//link[contains(@href, /stylesheets/#{path}) and contains(@media, #{media})]")
end

Then /^I should see the js file "([^"]*)"$/ do |path|
  page.should have_xpath("//script[contains(@src, /javascripts/#{path})]")
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
andrewroth_activeadmin-0.3.4.3 features/step_definitions/asset_steps.rb
andrewroth_activeadmin-0.3.4.2 features/step_definitions/asset_steps.rb
andrewroth_activeadmin-0.3.4.1 features/step_definitions/asset_steps.rb