test blueprint typography output.
This commit is contained in:
parent
605658fab2
commit
c07a89ef3d
@ -4,7 +4,7 @@ require 'compass'
|
|||||||
|
|
||||||
class CompassTest < Test::Unit::TestCase
|
class CompassTest < Test::Unit::TestCase
|
||||||
def setup
|
def setup
|
||||||
setup_fixtures :default, :yui, :empty
|
setup_fixtures :blueprint, :yui, :empty
|
||||||
@original_options = Sass::Plugin.options
|
@original_options = Sass::Plugin.options
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -16,7 +16,7 @@ class CompassTest < Test::Unit::TestCase
|
|||||||
end
|
end
|
||||||
|
|
||||||
def teardown
|
def teardown
|
||||||
teardown_fixtures :default, :yui, :empty
|
teardown_fixtures :blueprint, :yui, :empty
|
||||||
Sass::Plugin.options = @original_options
|
Sass::Plugin.options = @original_options
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -34,11 +34,12 @@ class CompassTest < Test::Unit::TestCase
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_default
|
def test_blueprint
|
||||||
with_templates(:default) do
|
with_templates(:blueprint) do
|
||||||
each_css_file(tempfile_loc(:default)) do |css_file|
|
each_css_file(tempfile_loc(:blueprint)) do |css_file|
|
||||||
assert_no_errors css_file, :default
|
assert_no_errors css_file, :blueprint
|
||||||
end
|
end
|
||||||
|
assert_renders_correctly :typography
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
def test_yui
|
def test_yui
|
||||||
|
@ -1,4 +0,0 @@
|
|||||||
@import blueprint/ie
|
|
||||||
|
|
||||||
body
|
|
||||||
+blueprint-ie
|
|
@ -1,4 +0,0 @@
|
|||||||
@import blueprint/print
|
|
||||||
|
|
||||||
body
|
|
||||||
+blueprint-print
|
|
@ -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)
|
|
Loading…
Reference in New Issue
Block a user