Sha256: f092baa1f4af15aaea765824bd0cf03a4794690a11fced2488ee35ba0c365780
Contents?: true
Size: 698 Bytes
Versions: 1
Compression:
Stored size: 698 Bytes
Contents
require 'test_helper' require 'active_support' class InitializerTest < ActiveSupport::TestCase test "too rendermonkey initialize" do assert_equal 'application/pdf', Mime.const_get(:PDF) end test "PDFGenerator included in ActionController::Base" do assert ActionController::Base.included_modules.include?(PDFGenerator) end test "TooRendermonkeyCss included in ActionView::Base" do assert ActionView::Base.included_modules.include?(TooRendermonkeyCss) end test "too_rendermonkey.rb initializer file is loaded" do assert "Hash", TooRendermonkey.configure.class.to_s assert_equal TooRendermonkey.configure.length, 3 end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
too_rendermonkey-0.3.0 | test/rails_test/test/unit/initializer_test.rb |