Commit 8ea19a9c155890124e6f4e1aa5d659db7fc850ab
1 parent
32992bb3
Exists in
master
and in
29 other branches
r235@sede: terceiro | 2007-07-28 18:42:34 -0300
ActionItem0: still renaming explicit to fixed git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@239 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
vendor/plugins/design/test/fixed_design_holder_test.rb
@@ -4,7 +4,7 @@ class FixedDesignHolderTest < Test::Unit::TestCase | @@ -4,7 +4,7 @@ class FixedDesignHolderTest < Test::Unit::TestCase | ||
4 | 4 | ||
5 | include Design | 5 | include Design |
6 | 6 | ||
7 | - def test_explicit_design | 7 | + def test_fixed_design |
8 | controller = FixedDesignTestController.new | 8 | controller = FixedDesignTestController.new |
9 | assert_kind_of Design::FixedDesignHolder, controller.design | 9 | assert_kind_of Design::FixedDesignHolder, controller.design |
10 | assert_equal 'some_template', controller.design.template | 10 | assert_equal 'some_template', controller.design.template |
@@ -13,7 +13,7 @@ class FixedDesignHolderTest < Test::Unit::TestCase | @@ -13,7 +13,7 @@ class FixedDesignHolderTest < Test::Unit::TestCase | ||
13 | assert_equal [FixedDesignTestController::BOX1, FixedDesignTestController::BOX2, FixedDesignTestController::BOX3], controller.design.boxes | 13 | assert_equal [FixedDesignTestController::BOX1, FixedDesignTestController::BOX2, FixedDesignTestController::BOX3], controller.design.boxes |
14 | end | 14 | end |
15 | 15 | ||
16 | - def test_explicit_design_should_have_sensible_defaults | 16 | + def test_fixed_design_should_have_sensible_defaults |
17 | controller = FixedDesignDefaultTestController.new | 17 | controller = FixedDesignDefaultTestController.new |
18 | assert_kind_of Design::FixedDesignHolder, controller.design | 18 | assert_kind_of Design::FixedDesignHolder, controller.design |
19 | assert_equal 'default', controller.design.template | 19 | assert_equal 'default', controller.design.template |