Sha256: 13f80dbe63abc39873c7314938ec20e88d0ced2ca22d1abb48e663be70b276ba
Contents?: true
Size: 947 Bytes
Versions: 3
Compression:
Stored size: 947 Bytes
Contents
Feature: Registering Assets Registering CSS and JS files Background: Given a configuration of: """ ActiveAdmin.register Post """ And I am logged in Scenario: Viewing default asset files When I am on the index page for posts Then I should see the css file "active_admin" And I should see the js file "active_admin" Scenario: Registering a CSS file Given a configuration of: """ ActiveAdmin.application.register_stylesheet "some-random-css.css", media: :print ActiveAdmin.register Post """ When I am on the index page for posts Then I should see the css file "some-random-css" of media "print" Scenario: Registering a JS file Given a configuration of: """ ActiveAdmin.application.register_javascript "some-random-js.js" ActiveAdmin.register Post """ When I am on the index page for posts Then I should see the js file "some-random-js"
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
activeadmin-rails-1.7.2 | features/registering_assets.feature |
activeadmin-rails-1.7.1 | features/registering_assets.feature |
activeadmin-rails-1.7.0 | features/registering_assets.feature |