Skip to content

Commit 0eb161b

Browse files
committed
adding some more documentation and todos
1 parent 2e82f37 commit 0eb161b

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

README.markdown

+14-1
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,17 @@ INSTALL
5959
`<%= dynamic_dropdown_menu %>`
6060

6161
* TODO: go to the admin and start creating menus
62-
WORKAROUND: open script/console and create the menus manually.
62+
* WORKAROUND: open script/console and create the menus manually.
63+
64+
`Menu.create :link_text => "blah", :url => "/blah", :position => 12, :visible => true, :parent_id => 3`
65+
66+
* TODO: add :visible to the `menus.find` call, so that the implied functionality actually exists:
67+
68+
`Given a valid, saved Menu instance with 'visible == true'
69+
When I go to a page with a dynamic_dropdown_menu() call
70+
Then the menu item should display`
71+
72+
`Given a valid saved Menu instance with 'visible == false'
73+
When I go to a page with a dynamic_dropdown_menu() call
74+
Then the menu item should not display`
75+

0 commit comments

Comments
 (0)