Sha256: 1b507b2c564df1f4a1234f01003c9190d25d0204749e1779a7f06d83fff38a8e

Contents?: true

Size: 455 Bytes

Versions: 7

Compression:

Stored size: 455 Bytes

Contents

require "test_helper"

class MountainViewConfigurationTest < ActiveSupport::TestCase
  test "default value for included_stylesheets is an empty array" do
    assert_equal MountainView::Configuration.new.included_stylesheets, []
  end

  test "set custom included_stylesheets" do
    config = MountainView::Configuration.new
    config.included_stylesheets = ["global", "fonts"]

    assert_equal config.included_stylesheets, ["global", "fonts"]
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
mountain_view-0.9.1 test/mountain_view/configuration_test.rb
mountain_view-0.9.0 test/mountain_view/configuration_test.rb
mountain_view-0.8.1 test/mountain_view/configuration_test.rb
mountain_view-0.8.0 test/mountain_view/configuration_test.rb
mountain_view-0.7.1 test/mountain_view/configuration_test.rb
mountain_view-0.7.0 test/mountain_view/configuration_test.rb
mountain_view-0.6.0 test/mountain_view/configuration_test.rb