Sha256: 93c9d14c5f0439b4c3e897a421e9629438a4fa10e27eeedb960cdcdbd3fe9b63

Contents?: true

Size: 610 Bytes

Versions: 32

Compression:

Stored size: 610 Bytes

Contents

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

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

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

Then /^I should see the favicon "([^"]*)"$/ do |path|
  expect(page).to have_xpath("//link[contains(@href, '#{path}')]", visible: false)
end

Version data entries

32 entries across 32 versions & 5 rubygems

Version Path
activeadmin-rails-1.7.1 features/step_definitions/asset_steps.rb
activeadmin-rails-1.7.0 features/step_definitions/asset_steps.rb
activeadmin-rb-1.6.0 features/step_definitions/asset_steps.rb
activeadmin-rb-1.5.2 features/step_definitions/asset_steps.rb
activeadmin-rb-1.5.1 features/step_definitions/asset_steps.rb
activeadmin-rb-1.5.0 features/step_definitions/asset_steps.rb
activeadmin_addons-1.7.1 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/asset_steps.rb
activeadmin-rb-1.4.0 features/step_definitions/asset_steps.rb
activeadmin_addons-1.7.0 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/asset_steps.rb
activeadmin-1.3.1 features/step_definitions/asset_steps.rb
activeadmin_addons-1.6.0 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/asset_steps.rb
activeadmin_addons-1.5.0 vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/asset_steps.rb
activeadmin-1.3.0 features/step_definitions/asset_steps.rb
activeadmin_addons-1.4.0 vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/asset_steps.rb
activeadmin_addons-1.3.0 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/asset_steps.rb
activeadmin_addons-1.2.0 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/step_definitions/asset_steps.rb
activeadmin-1.2.1 features/step_definitions/asset_steps.rb
activeadmin_addons-1.1.2 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-a5a53c3f2b8f/features/step_definitions/asset_steps.rb
activeadmin-1.2.0 features/step_definitions/asset_steps.rb
activeadmin_addons-1.1.1 vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-a5a53c3f2b8f/features/step_definitions/asset_steps.rb