Sha256: 4afb54c98fd6be071cf71581fa00cebd9289e673f3fc0990a75853a108b16cf5

Contents?: true

Size: 337 Bytes

Versions: 7

Compression:

Stored size: 337 Bytes

Contents

Around '@breadcrumb' do |scenario, block|
  previous_breadcrumb = ActiveAdmin.application.breadcrumb

  begin
    block.call
  ensure
    ActiveAdmin.application.breadcrumb = previous_breadcrumb
  end
end

Then /^I should see a link to "([^"]*)" in the breadcrumb$/ do |text|
  expect(page).to have_css '.breadcrumb > a', text: text
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
activeadmin-rails-1.7.1 features/step_definitions/breadcrumb_steps.rb
activeadmin-rails-1.7.0 features/step_definitions/breadcrumb_steps.rb
activeadmin-rb-1.6.0 features/step_definitions/breadcrumb_steps.rb
activeadmin-rb-1.5.2 features/step_definitions/breadcrumb_steps.rb
activeadmin-rb-1.5.1 features/step_definitions/breadcrumb_steps.rb
activeadmin-rb-1.5.0 features/step_definitions/breadcrumb_steps.rb
activeadmin-rb-1.4.0 features/step_definitions/breadcrumb_steps.rb