Sha256: 67700a0fbe426d1ea4668c4ef6fad97baf58856fef2e6e8c9734e9de52c6c3ad

Contents?: true

Size: 479 Bytes

Versions: 5

Compression:

Stored size: 479 Bytes

Contents

@root
Feature: Namespace root

  As a developer
  In order to customize the welcome page
  I want to set it in the configuration

  Scenario: Default root is the Dashboard
    Given I am logged in with capybara
    Then I should be on the dashboard

  Scenario: Set root to "stores#index"
    Given a configuration of:
    """
      ActiveAdmin.application.root_to = 'stores#index'
    """
    Given I am logged in with capybara
    Then I should see the page title "Bookstores"

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
activeadmin-rb-1.6.0 features/root_to.feature
activeadmin-rb-1.5.2 features/root_to.feature
activeadmin-rb-1.5.1 features/root_to.feature
activeadmin-rb-1.5.0 features/root_to.feature
activeadmin-rb-1.4.0 features/root_to.feature