Created
January 13, 2009 16:46
-
-
Save teamon/46512 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Feature: Mage categories | |
To create, update or delete new category | |
An authenticated user of the system | |
Goes to categories page and do the right thing | |
Scenario: Successful category creating | |
Given I am authenticated as "teamon" | |
And the following categories exist: | |
When I go to admin homepage | |
And I click "Add category" | |
And I fill in "name" with "Ruby" | |
~ Named route not found: category - (Merb::Router::GenerationError) | |
/Library/Ruby/Gems/1.8/gems/merb-core-1.0.7.1/lib/merb-core/dispatch/router.rb:231:in `url' | |
/Library/Ruby/Gems/1.8/gems/merb-core-1.0.7.1/lib/merb-core/controller/merb_controller.rb:350:in `url' | |
/Users/teamon/Sites/current/aliquam/app/views/admin/categories/index.html.haml:11:in `__Users__teamon__Sites__current__aliquam__app__views__admin__categories__index_html_haml' | |
/Library/Ruby/Gems/1.8/gems/extlib-0.9.9/lib/extlib/lazy_array.rb:391:in `each' | |
/Library/Ruby/Gems/1.8/gems/extlib-0.9.9/lib/extlib/lazy_array.rb:391:in `send' | |
/Library/Ruby/Gems/1.8/gems/extlib-0.9.9/lib/extlib/lazy_array.rb:391:in `method_missing' | |
/Library/Ruby/Gems/1.8/gems/dm-core-0.9.8/lib/dm-core/collection.rb:638:in `method_missing' | |
/Users/teamon/Sites/current/aliquam/app/views/admin/categories/index.html.haml:8:in `__Users__teamon__Sites__current__aliquam__app__views__admin__categories__index_html_haml' | |
/Library/Ruby/Gems/1.8/gems/merb-core-1.0.7.1/lib/merb-core/controller/mixins/render.rb:137:in `send' | |
/Library/Ruby/Gems/1.8/gems/merb-core-1.0.7.1/lib/merb-core/controller/mixins/render.rb:137:in `render' | |
/Library/Ruby/Gems/1.8/gems/merb-core-1.0.7.1/lib/merb-core/controller/mixins/render.rb:222:in `display' | |
/Users/teamon/Sites/current/aliquam/app/controllers/admin/categories.rb:7:in `index' | |
/Library/Ruby/Gems/1.8/gems/merb-action-args-1.0.7.1/lib/merb-action-args/abstract_controller.rb:40:in `__send__' | |
/Library/Ruby/Gems/1.8/gems/merb-action-args-1.0.7.1/lib/merb-action-args/abstract_controller.rb:40:in `_call_action' | |
/Library/Ruby/Gems/1.8/gems/merb-core-1.0.7.1/lib/merb-core/controller/abstract_controller.rb:289:in `_dispatch' | |
/Library/Ruby/Gems/1.8/gems/merb-core-1.0.7.1/lib/merb-core/controller/merb_controller.rb:252:in `_dispatch' | |
/Library/Ruby/Gems/1.8/gems/merb-core-1.0.7.1/lib/merb-core/dispatch/dispatcher.rb:100:in `dispatch_action' | |
/Library/Ruby/Gems/1.8/gems/merb-core-1.0.7.1/lib/merb-core/dispatch/dispatcher.rb:100:in `synchronize' | |
/Library/Ruby/Gems/1.8/gems/merb-core-1.0.7.1/lib/merb-core/dispatch/dispatcher.rb:100:in `dispatch_action' | |
/Library/Ruby/Gems/1.8/gems/merb-core-1.0.7.1/lib/merb-core/dispatch/dispatcher.rb:74:in `handle' | |
/Library/Ruby/Gems/1.8/gems/merb-core-1.0.7.1/lib/merb-core/dispatch/dispatcher.rb:36:in `handle' | |
/Library/Ruby/Gems/1.8/gems/merb-core-1.0.7.1/lib/merb-core/rack/application.rb:17:in `call' | |
/Library/Ruby/Gems/1.8/gems/merb-core-1.0.7.1/lib/merb-core/rack/middleware/static.rb:28:in `call' | |
/Library/Ruby/Gems/1.8/gems/merb-core-1.0.7.1/lib/merb-core/test/helpers/request_helper.rb:41:in `request' | |
/Library/Ruby/Gems/1.8/gems/webrat-0.3.4/lib/webrat/merb.rb:41:in `do_request' | |
/Library/Ruby/Gems/1.8/gems/webrat-0.3.4/lib/webrat/merb.rb:17:in `get' | |
/Library/Ruby/Gems/1.8/gems/webrat-0.3.4/lib/webrat/merb.rb:49:in `follow_redirect' | |
/Library/Ruby/Gems/1.8/gems/webrat-0.3.4/lib/webrat/merb.rb:45:in `do_request' | |
/Library/Ruby/Gems/1.8/gems/webrat-0.3.4/lib/webrat/merb.rb:21:in `post' | |
/Library/Ruby/Gems/1.8/gems/webrat-0.3.4/lib/webrat/core/session.rb:84:in `send' | |
/Library/Ruby/Gems/1.8/gems/webrat-0.3.4/lib/webrat/core/session.rb:84:in `request_page' | |
/Library/Ruby/Gems/1.8/gems/webrat-0.3.4/lib/webrat/core/form.rb:48:in `submit' | |
/Library/Ruby/Gems/1.8/gems/webrat-0.3.4/lib/webrat/core/field.rb:163:in `click' | |
/Library/Ruby/Gems/1.8/gems/webrat-0.3.4/lib/webrat/core/scope.rb:149:in `click_button' | |
(__FORWARDABLE__):3:in `__send__' | |
(__FORWARDABLE__):3:in `click_button' | |
(eval):3:in `click_button' | |
./features/steps/webrat_steps.rb:10:in `__cucumber_19058470' | |
/Library/Ruby/Gems/1.8/gems/cucumber-0.1.13/bin/../lib/cucumber/core_ext/proc.rb:48:in `__se |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment