Sha256: fa8d9564995fbe967b54c1e2fd9f63d46ed9ec62bfb26920179019f8182aa143
Contents?: true
Size: 839 Bytes
Versions: 4
Compression:
Stored size: 839 Bytes
Contents
require 'cover_me' gem 'test-unit' require 'test/unit' require 'css_inliner' class CSSInlinerTestCase < Test::Unit::TestCase include CSSInliner def setup @fixtures_dir = File.join(File.dirname(__FILE__), 'fixtures') @sample1_dir = File.join(@fixtures_dir, 'sample1') @sample2_dir = File.join(@fixtures_dir, 'sample2') @sample3_dir = File.join(@fixtures_dir, 'sample3') @sample4_dir = File.join(@fixtures_dir, 'sample4') @html1 = File.read(File.join(@sample1_dir, 'index.html')) @html2 = File.read(File.join(@sample2_dir, 'index.html')) @html3 = File.read(File.join(@sample3_dir, 'index.html')) @html4 = File.read(File.join(@sample4_dir, 'index.html')) @doc1 = Nokogiri.HTML @html1 @doc2 = Nokogiri.HTML @html2 @doc3 = Nokogiri.HTML @html3 @doc4 = Nokogiri.HTML @html4 end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
css_inliner-0.2.1 | test/helper.rb |
css_inliner-0.2.0 | test/helper.rb |
css_inliner-0.1.1 | test/helper.rb |
css_inliner-0.1.0 | test/helper.rb |