Removes some tests about YUI.
This commit is contained in:
parent
bb089384d4
commit
373ac11329
@ -20,7 +20,7 @@ class CommandLineTest < Test::Unit::TestCase
|
||||
|
||||
def test_list_frameworks
|
||||
compass "--list-frameworks"
|
||||
assert_equal(%w(blueprint compass yui), @last_result.split.sort)
|
||||
assert_equal(%w(blueprint compass), @last_result.split.sort)
|
||||
end
|
||||
|
||||
def test_basic_install
|
||||
|
@ -9,7 +9,7 @@ class CompassTest < Test::Unit::TestCase
|
||||
end
|
||||
|
||||
def teardown
|
||||
teardown_fixtures :blueprint, :yui, :empty, :compass, :image_urls
|
||||
teardown_fixtures :blueprint, :empty, :compass, :image_urls
|
||||
end
|
||||
|
||||
def teardown_fixtures(*project_names)
|
||||
@ -37,15 +37,6 @@ class CompassTest < Test::Unit::TestCase
|
||||
end
|
||||
end
|
||||
|
||||
def test_yui
|
||||
within_project('yui') do |proj|
|
||||
each_css_file(proj.css_path) do |css_file|
|
||||
assert_no_errors css_file, 'yui'
|
||||
end
|
||||
assert_renders_correctly :mixins
|
||||
end
|
||||
end
|
||||
|
||||
def test_compass
|
||||
within_project('compass') do |proj|
|
||||
each_css_file(proj.css_path) do |css_file|
|
||||
|
9
test/fixtures/stylesheets/yui/config.rb
vendored
9
test/fixtures/stylesheets/yui/config.rb
vendored
@ -1,9 +0,0 @@
|
||||
# Require any additional compass plugins here.
|
||||
project_type = :stand_alone
|
||||
css_dir = "tmp"
|
||||
sass_dir = "sass"
|
||||
images_dir = "images"
|
||||
output_style = :nested
|
||||
# To enable relative image paths using the images_url() function:
|
||||
# http_images_path = :relative
|
||||
http_images_path = "/images"
|
13
test/fixtures/stylesheets/yui/css/mixins.css
vendored
13
test/fixtures/stylesheets/yui/css/mixins.css
vendored
@ -1,13 +0,0 @@
|
||||
.font-size-26px {
|
||||
font-size: 200%; }
|
||||
|
||||
.font-size-baseline {
|
||||
font-size: 300%; }
|
||||
|
||||
.em-sizing {
|
||||
width: 1em;
|
||||
margin: 9em; }
|
||||
|
||||
.em-sizing-hack {
|
||||
width: 1em;
|
||||
*width: 0.975em; }
|
3
test/fixtures/stylesheets/yui/sass/base.sass
vendored
3
test/fixtures/stylesheets/yui/sass/base.sass
vendored
@ -1,3 +0,0 @@
|
||||
@import yui/modules/base.sass
|
||||
|
||||
+yui-base
|
@ -1,3 +0,0 @@
|
||||
@import yui/modules/fonts.sass
|
||||
|
||||
+yui-base-fonts
|
@ -1,3 +0,0 @@
|
||||
@import yui/modules/grids.sass
|
||||
|
||||
+yui-grids
|
16
test/fixtures/stylesheets/yui/sass/mixins.sass
vendored
16
test/fixtures/stylesheets/yui/sass/mixins.sass
vendored
@ -1,16 +0,0 @@
|
||||
@import yui/modules/fonts.sass
|
||||
@import yui/modules/grids.sass
|
||||
|
||||
.font-size-26px
|
||||
+font-size(26px)
|
||||
|
||||
.font-size-baseline
|
||||
+font-size(30px, 10px)
|
||||
|
||||
.em-sizing
|
||||
+em-size("width", 13px)
|
||||
+em-size("margin", 99px, 11px)
|
||||
|
||||
.em-sizing-hack
|
||||
+em-size-hacked("width", 13px)
|
||||
|
Loading…
Reference in New Issue
Block a user