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