Sha256: a200aa6a95e0088d3a1fb4039c18aa601ab643c76cf3489c5932ed7683b67d22
Contents?: true
Size: 792 Bytes
Versions: 3
Compression:
Stored size: 792 Bytes
Contents
require 'helper' class LegacyHelperTest < ActionView::TestCase include Wisepdf::Helper::Legacy context "wisepdf_stylesheet_tag" do should 'include stylesheet if no extension is given' do assert_match /Wisepdf styles/, wisepdf_stylesheet_tag('wisepdf').strip end should 'include stylesheet if .css extension is given' do assert_match /Wisepdf styles/, wisepdf_stylesheet_tag('wisepdf.css').strip end end context "wisepdf_javascript_tag" do should 'include javascript if no extension is given' do assert_match /Wisepdf javascript/, wisepdf_javascript_tag('wisepdf').strip end should 'include javascript if .js extension is given' do assert_match /Wisepdf javascript/, wisepdf_javascript_tag('wisepdf.js').strip end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
wisepdf-1.4.0 | test/helper_legacy_test.rb |
wisepdf-1.3.1 | test/helper_legacy_test.rb |
wisepdf-1.3.0 | test/helper_legacy_test.rb |