diff options
| author | hukl <contact@smyck.org> | 2009-08-08 15:04:11 +0200 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-08-08 15:04:11 +0200 |
| commit | 397bee72fa5bccf64d09eeb77b5ee0000aabfdb4 (patch) | |
| tree | df027dee605118c813ffdde893e01a550a732e43 /test | |
| parent | 7c9f0d0823bdce9a011d3bdd2823e15ffb7c1311 (diff) | |
added dynamic main menu
Diffstat (limited to 'test')
| -rw-r--r-- | test/fixtures/menu_items.yml | 7 | ||||
| -rw-r--r-- | test/unit/menu_item_test.rb | 8 |
2 files changed, 15 insertions, 0 deletions
diff --git a/test/fixtures/menu_items.yml b/test/fixtures/menu_items.yml new file mode 100644 index 0000000..2319de1 --- /dev/null +++ b/test/fixtures/menu_items.yml | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | # Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html | ||
| 2 | |||
| 3 | one: | ||
| 4 | node_id: 1 | ||
| 5 | |||
| 6 | two: | ||
| 7 | node_id: 1 | ||
diff --git a/test/unit/menu_item_test.rb b/test/unit/menu_item_test.rb new file mode 100644 index 0000000..81d9c01 --- /dev/null +++ b/test/unit/menu_item_test.rb | |||
| @@ -0,0 +1,8 @@ | |||
| 1 | require 'test_helper' | ||
| 2 | |||
| 3 | class MenuItemTest < ActiveSupport::TestCase | ||
| 4 | # Replace this with your real tests. | ||
| 5 | test "the truth" do | ||
| 6 | assert true | ||
| 7 | end | ||
| 8 | end | ||
