From c07a89ef3d0cb898dfd2912d9c7cbf930a239e5a Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Fri, 5 Dec 2008 17:48:26 -0800 Subject: [PATCH] test blueprint typography output. --- test/compass_test.rb | 13 +++++++------ test/fixtures/stylesheets/default/sass/ie.sass | 4 ---- .../stylesheets/default/sass/print.sass | 4 ---- .../stylesheets/default/sass/screen.sass | 18 ------------------ 4 files changed, 7 insertions(+), 32 deletions(-) delete mode 100644 test/fixtures/stylesheets/default/sass/ie.sass delete mode 100644 test/fixtures/stylesheets/default/sass/print.sass delete mode 100644 test/fixtures/stylesheets/default/sass/screen.sass diff --git a/test/compass_test.rb b/test/compass_test.rb index b0c844eb..404f9e19 100644 --- a/test/compass_test.rb +++ b/test/compass_test.rb @@ -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 diff --git a/test/fixtures/stylesheets/default/sass/ie.sass b/test/fixtures/stylesheets/default/sass/ie.sass deleted file mode 100644 index 9bb82459..00000000 --- a/test/fixtures/stylesheets/default/sass/ie.sass +++ /dev/null @@ -1,4 +0,0 @@ -@import blueprint/ie - -body - +blueprint-ie \ No newline at end of file diff --git a/test/fixtures/stylesheets/default/sass/print.sass b/test/fixtures/stylesheets/default/sass/print.sass deleted file mode 100644 index f825831b..00000000 --- a/test/fixtures/stylesheets/default/sass/print.sass +++ /dev/null @@ -1,4 +0,0 @@ -@import blueprint/print - -body - +blueprint-print \ No newline at end of file diff --git a/test/fixtures/stylesheets/default/sass/screen.sass b/test/fixtures/stylesheets/default/sass/screen.sass deleted file mode 100644 index f8df6a05..00000000 --- a/test/fixtures/stylesheets/default/sass/screen.sass +++ /dev/null @@ -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)