Sha256: ebfb9f43653b00e5546f6fe41d50c0f3ded9ac1cc5b3eaf29b4f7ee40b760ef9

Contents?: true

Size: 845 Bytes

Versions: 14

Compression:

Stored size: 845 Bytes

Contents

Feature: Site title

  As a developer
  In order to customize the site footer
  I want to set it in the configuration

  Background:
    Given I am logged in

  Scenario: No footer is set in the configuration (default)
    When I am on the dashboard
    And I should see the default footer

  Scenario: Set the footer in the configuration
    Given a configuration of:
    """
      ActiveAdmin.application.footer = "MyApp Revision 123"
    """
    When I am on the dashboard
    And I should see the footer "MyApp Revision 123"

  Scenario: Set the footer to a proc
    Given a configuration of:
    """
      ActiveAdmin.application.footer = proc { "Enjoy MyApp Revision 123, #{controller.current_admin_user.try(:email)}!" }
    """
    When I am on the dashboard
    And I should see the footer "Enjoy MyApp Revision 123, admin@example.com!"

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
activeadmin_addons-1.7.1 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/footer.feature
activeadmin_addons-1.7.0 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/footer.feature
activeadmin-1.3.1 features/footer.feature
activeadmin_addons-1.6.0 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/footer.feature
activeadmin_addons-1.5.0 vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-f71b375325eb/features/footer.feature
activeadmin-1.3.0 features/footer.feature
activeadmin_addons-1.4.0 vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-f71b375325eb/features/footer.feature
activeadmin_addons-1.3.0 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/footer.feature
activeadmin_addons-1.2.0 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/footer.feature
activeadmin-1.2.1 features/footer.feature
activeadmin-1.2.0 features/footer.feature
activeadmin-1.1.0 features/footer.feature
activeadmin-1.0.0 features/footer.feature
activeadmin-1.0.0.pre5 features/footer.feature