Sha256: 61b0523d05639f229a26fa86da5a9ff259fb5b261552d659cc50908b1c2bac55

Contents?: true

Size: 545 Bytes

Versions: 2

Compression:

Stored size: 545 Bytes

Contents

require 'test_helper'

class ThemifyIconsRailsTest < ActionDispatch::IntegrationTest

  test "engine is loaded" do
    assert_equal ::Rails::Engine, ThemifyIcons::Rails::Engine.superclass
  end

  %w(eot ttf woff svg).each do |ext|
    test "themify.#{ext} is served" do
      get "/assets/themify.#{ext}"
      assert_response :success
    end
  end

  test "stylesheet is served with the asset pipeline" do
    get "/assets/themify-icons.css"
    assert_response :success
    assert_match(/font-family:\s*'themify';/, response.body)
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
themify-icons-rails-1.0.1.1 test/themify_icon_rails_test.rb
themify-icons-rails-1.0.1.0 test/themify_icon_rails_test.rb