test blueprint typography output.

This commit is contained in:
Chris Eppstein 2008-12-05 17:48:26 -08:00
parent 605658fab2
commit c07a89ef3d
4 changed files with 7 additions and 32 deletions

View File

@ -4,7 +4,7 @@ require 'compass'
class CompassTest < Test::Unit::TestCase
def setup
setup_fixtures :default, :yui, :empty
setup_fixtures :blueprint, :yui, :empty
@original_options = Sass::Plugin.options
end
@ -16,7 +16,7 @@ class CompassTest < Test::Unit::TestCase
end
def teardown
teardown_fixtures :default, :yui, :empty
teardown_fixtures :blueprint, :yui, :empty
Sass::Plugin.options = @original_options
end
@ -34,11 +34,12 @@ class CompassTest < Test::Unit::TestCase
end
end
def test_default
with_templates(:default) do
each_css_file(tempfile_loc(:default)) do |css_file|
assert_no_errors css_file, :default
def test_blueprint
with_templates(:blueprint) do
each_css_file(tempfile_loc(:blueprint)) do |css_file|
assert_no_errors css_file, :blueprint
end
assert_renders_correctly :typography
end
end
def test_yui

View File

@ -1,4 +0,0 @@
@import blueprint/ie
body
+blueprint-ie

View File

@ -1,4 +0,0 @@
@import blueprint/print
body
+blueprint-print

View File

@ -1,18 +0,0 @@
@import blueprint/screen
@import compass/reset
body
+blueprint
#main.container
#top
+column(24, last)
#middle
+column(24, last)
#left
+column(6)
#content
+column(12)
#right
+column(6, last)
#bottom
+column(24, last)