Sha256: 2a75eca4ebb9e768e5f710aadf78b36d64f0525e0332cc5f2321951f0d1758fb
Contents?: true
Size: 965 Bytes
Versions: 11
Compression:
Stored size: 965 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.css" Then I should see the js file "active_admin.js" 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.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.js"
Version data entries
11 entries across 11 versions & 3 rubygems