Sha256: f6c0e6f3237683b57bd3e4b0abe9b43248f052b4d8e66f323aa0241c83678742
Contents?: true
Size: 773 Bytes
Versions: 6
Compression:
Stored size: 773 Bytes
Contents
require "spec_helper" module Refinery describe "custom" do refinery_login_with :refinery_user context "javascripts" do before do ::Refinery::Core.clear_javascripts! end it "should be rendered when specified" do ::Refinery::Core.config.register_javascript('custom_js') visit refinery.admin_dashboard_path page.body.include?('custom_js.js').should be end end context "stylesheets" do before do ::Refinery::Core.clear_stylesheets! end it "should be rendered when specified" do ::Refinery::Core.config.register_stylesheet('custom_css') visit refinery.admin_dashboard_path page.body.include?('custom_css.css').should be end end end end
Version data entries
6 entries across 6 versions & 1 rubygems