Sha256: f0b64f541bbf1ad1197b1a35266c038865a95817d968400967af1fc0f936b67c

Contents?: true

Size: 589 Bytes

Versions: 6

Compression:

Stored size: 589 Bytes

Contents

# -*- encoding : utf-8 -*-
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
describe ApplicationController do
  include Devise::TestHelpers

# HEAD CONTENT
  describe "head content from variables" do

    describe "#default_html_head" do
      it "should setup js and css defaults" do                
        controller.send(:default_html_head)

        # by default, these should be empty, but left in for backwards compatibility 
        controller.javascript_includes.should be_empty
        controller.stylesheet_links.should be_empty
      end
    end
  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
blacklight-3.8.2 test_support/spec/controllers/application_controller_spec.rb
blacklight-3.8.1 test_support/spec/controllers/application_controller_spec.rb
blacklight-3.8.0 test_support/spec/controllers/application_controller_spec.rb
blacklight-3.7.2 test_support/spec/controllers/application_controller_spec.rb
blacklight-3.7.1 test_support/spec/controllers/application_controller_spec.rb
blacklight-3.7.0 test_support/spec/controllers/application_controller_spec.rb