Sha256: a38286001bbdc3b8c3756f4f1c3b96af7280eb396b5d93db9ae0b88dea6e685e
Contents?: true
Size: 1.04 KB
Versions: 13
Compression:
Stored size: 1.04 KB
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" Then I should see the js file "active_admin" Scenario: Registering a CSS file Given a configuration of: """ ActiveSupport::Deprecation.silence do ActiveAdmin.application.register_stylesheet "some-random-css.css", media: :print ActiveAdmin.register Post end """ 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: """ ActiveSupport::Deprecation.silence do ActiveAdmin.application.register_javascript "some-random-js.js" ActiveAdmin.register Post end """ When I am on the index page for posts Then I should see the js file "some-random-js"
Version data entries
13 entries across 13 versions & 3 rubygems