Sha256: 5f7e4496390d2e487a0a37c8273e7099b519949a8ecb02174c543a992fa36e96
Contents?: true
Size: 701 Bytes
Versions: 33
Compression:
Stored size: 701 Bytes
Contents
Feature: Meta Tag Add custom meta tags to head of pages. Background: Given a configuration of: """ ActiveAdmin.register Post ActiveAdmin.application.meta_tags = { author: 'My Company' } ActiveAdmin.application.meta_tags_for_logged_out_pages = { robots: 'noindex' } """ Scenario: Logged out views include custom meta tags Given I am logged out When I am on the login page Then the site should contain a meta tag with name "robots" and content "noindex" Scenario: Logged in views include custom meta tags Given I am logged in When I am on the dashboard Then the site should contain a meta tag with name "author" and content "My Company"
Version data entries
33 entries across 33 versions & 5 rubygems