Jason Guiditta wrote:
Anyone else seeing these errors?
rake spec:
1)
ActiveRecord::StatementInvalid in 'Image should have aggregator images
only if it has a pool'
SQLite3::SQLException: providers.name may not be NULL: INSERT INTO
"providers" ("name", "updated_at", "cloud_type",
"url", "lock_version",
"created_at") VALUES(NULL, '2010-05-21 14:31:27', NULL, NULL, 0,
'2010-05-21 14:31:27')
/home/jay/.gem/ruby/1.8/gems/factory_girl-1.2.4/lib/factory_girl/proxy/create.rb:6:in
`result'
/home/jay/.gem/ruby/1.8/gems/factory_girl-1.2.4/lib/factory_girl/factory.rb:323:in
`run'
/home/jay/.gem/ruby/1.8/gems/factory_girl-1.2.4/lib/factory_girl/factory.rb:267:in
`create'
./spec/models/image_spec.rb:62:
Finished in 18.541785 seconds
85 examples, 1 failure
Loooong list from rake cucumber:
(::) failed steps (::)
expected: "/account",
got: "/users/show/1" (using ==)
I used to get a similar error there before, but then it went away. In
any case I know mmorsi made a change when he added admin-created
accounts to redirect to /user/show/userid rather than /account -- to
allow for viewing _someone else's_ user page. The test needs to match
what's happening here. What's more -- we should only go to
/users/show/foo when we want to see a specific user profile page -- to
see "my page" -- after I create an account or log in -- I should
probably go to /account.
Scott
Diff:
@@ -1,2 +1,2 @@
-/account
+/users/show/1
(Spec::Expectations::ExpectationNotMetError)
./features/step_definitions/web_steps.rb:255:in `/^(?:|I )should be on
(.+)$/'
features/authentication.feature:20:in `Then I should be on the account
page'
Called id for nil, which would mistakenly be 4 -- if you really wanted
the id of nil, use object_id (ActionView::TemplateError)
On line #21 of app/views/dashboard/summary.haml
18: %p
19: Ready to work in the cloud?</p>
20: #getting_started_links
21: %a{:class => "button_link", :href =>
url_for(:controller => :pool, :action => :show, :id =>
@current_users_pool.id)}
22: Go to my personal pool
23: %a{:href => url_for(:controller => :user, :action
=> :pools, :id => @current_user.id)}
24: Show all my pools
app/views/dashboard/summary.haml:21:in
`_run_haml_app47views47dashboard47summary46haml'
haml (2.2.24) rails/./lib/haml/helpers/action_view_mods.rb:13:in
`render_without_mock_proxy'
/home/jay/.gem/ruby/1.8/gems/rspec-rails-1.3.2/lib/spec/rails/extensions/action_view/base.rb:27:in
`render'
haml (2.2.24) rails/./lib/haml/helpers/action_view_mods.rb:13:in
`render_without_mock_proxy'
/home/jay/.gem/ruby/1.8/gems/rspec-rails-1.3.2/lib/spec/rails/extensions/action_view/base.rb:27:in
`render'
app/controllers/dashboard_controller.rb:29:in `index'
haml (2.2.24) rails/./lib/sass/plugin/rails.rb:20:in `process'
webrat (0.7.1) lib/webrat/adapters/rails.rb:50:in `send'
webrat (0.7.1) lib/webrat/adapters/rails.rb:50:in `do_request'
webrat (0.7.1) lib/webrat/adapters/rails.rb:15:in `get'
(__FORWARDABLE__):3:in `__send__'
(__FORWARDABLE__):3:in `get'
webrat (0.7.1) lib/webrat/core/session.rb:280:in `send'
webrat (0.7.1) lib/webrat/core/session.rb:280:in `process_request'
webrat (0.7.1) lib/webrat/core/session.rb:119:in `request_page'
webrat (0.7.1) lib/webrat/core/session.rb:132:in `request_page'
webrat (0.7.1) lib/webrat/core/elements/form.rb:20:in `submit'
webrat (0.7.1) lib/webrat/core/elements/field.rb:193:in `click'
webrat (0.7.1) lib/webrat/core/scope.rb:291:in `click_button'
(__FORWARDABLE__):3:in `__send__'
(__FORWARDABLE__):3:in `click_button'
webrat (0.7.1) lib/webrat/core/methods.rb:7:in `click_button'
features/step_definitions/authentication.rb:10:in `login'
features/step_definitions/authentication.rb:18:in `__instance_exec0'
cucumber (0.7.3) bin/./lib/cucumber/core_ext/instance_exec.rb:26:in
`send'
cucumber (0.7.3) bin/./lib/cucumber/core_ext/instance_exec.rb:26:in
`instance_exec'
cucumber (0.7.3) bin/./lib/cucumber/core_ext/instance_exec.rb:48:in
`cucumber_instance_exec'
cucumber (0.7.3) bin/./lib/cucumber/core_ext/instance_exec.rb:69:in
`cucumber_run_with_backtrace_filtering'
cucumber (0.7.3) bin/./lib/cucumber/core_ext/instance_exec.rb:36:in
`cucumber_instance_exec'
cucumber (0.7.3)
bin/./lib/cucumber/rb_support/rb_step_definition.rb:54:in `invoke'
cucumber (0.7.3) bin/./lib/cucumber/step_match.rb:26:in `invoke'
cucumber (0.7.3) bin/./lib/cucumber/ast/step_invocation.rb:62:in
`invoke'
cucumber (0.7.3) bin/./lib/cucumber/ast/step_invocation.rb:41:in
`accept'
cucumber (0.7.3) bin/./lib/cucumber/ast/tree_walker.rb:99:in
`visit_step'
cucumber (0.7.3) bin/./lib/cucumber/ast/tree_walker.rb:164:in
`broadcast'
cucumber (0.7.3) bin/./lib/cucumber/ast/tree_walker.rb:98:in
`visit_step'
cucumber (0.7.3) bin/./lib/cucumber/ast/step_collection.rb:15:in
`accept'
cucumber (0.7.3) bin/./lib/cucumber/ast/step_collection.rb:14:in
`each'
cucumber (0.7.3) bin/./lib/cucumber/ast/step_collection.rb:14:in
`accept'
cucumber (0.7.3) bin/./lib/cucumber/ast/tree_walker.rb:93:in
`visit_steps'
cucumber (0.7.3) bin/./lib/cucumber/ast/tree_walker.rb:164:in
`broadcast'
cucumber (0.7.3) bin/./lib/cucumber/ast/tree_walker.rb:92:in
`visit_steps'
cucumber (0.7.3) bin/./lib/cucumber/ast/scenario.rb:54:in `accept'
cucumber (0.7.3) bin/./lib/cucumber/step_mother.rb:330:in
`before_and_after'
cucumber (0.7.3) bin/./lib/cucumber/ast/scenario.rb:52:in `accept'
cucumber (0.7.3) bin/./lib/cucumber/step_mother.rb:319:in `call'
cucumber (0.7.3) bin/./lib/cucumber/step_mother.rb:319:in `around'
cucumber (0.7.3)
bin/./lib/cucumber/language_support/language_methods.rb:13:in `around'
cucumber (0.7.3)
bin/./lib/cucumber/language_support/language_methods.rb:95:in `call'
cucumber (0.7.3)
bin/./lib/cucumber/language_support/language_methods.rb:95:in
`execute_around'
cucumber (0.7.3)
bin/./lib/cucumber/language_support/language_methods.rb:12:in `around'
cucumber (0.7.3) bin/./lib/cucumber/step_mother.rb:318:in `around'
cucumber (0.7.3) bin/./lib/cucumber/step_mother.rb:316:in `call'
cucumber (0.7.3) bin/./lib/cucumber/step_mother.rb:316:in `around'
cucumber (0.7.3) bin/./lib/cucumber/ast/scenario.rb:51:in `accept'
cucumber (0.7.3) bin/./lib/cucumber/ast/scenario.rb:108:in
`with_visitor'
cucumber (0.7.3) bin/./lib/cucumber/ast/scenario.rb:45:in `accept'
cucumber (0.7.3) bin/./lib/cucumber/ast/tree_walker.rb:51:in
`visit_feature_element'
cucumber (0.7.3) bin/./lib/cucumber/ast/tree_walker.rb:164:in
`broadcast'
cucumber (0.7.3) bin/./lib/cucumber/ast/tree_walker.rb:50:in
`visit_feature_element'
cucumber (0.7.3) bin/./lib/cucumber/ast/feature.rb:35:in `accept'
cucumber (0.7.3) bin/./lib/cucumber/ast/feature.rb:34:in `each'
cucumber (0.7.3) bin/./lib/cucumber/ast/feature.rb:34:in `accept'
cucumber (0.7.3) bin/./lib/cucumber/ast/tree_walker.rb:20:in
`visit_feature'
cucumber (0.7.3) bin/./lib/cucumber/ast/tree_walker.rb:164:in
`broadcast'
cucumber (0.7.3) bin/./lib/cucumber/ast/tree_walker.rb:19:in
`visit_feature'
cucumber (0.7.3) bin/./lib/cucumber/ast/features.rb:29:in `accept'
cucumber (0.7.3) bin/./lib/cucumber/ast/features.rb:17:in `each'
cucumber (0.7.3) bin/./lib/cucumber/ast/features.rb:17:in `each'
cucumber (0.7.3) bin/./lib/cucumber/ast/features.rb:28:in `accept'
cucumber (0.7.3) bin/./lib/cucumber/ast/tree_walker.rb:14:in
`visit_features'
cucumber (0.7.3) bin/./lib/cucumber/ast/tree_walker.rb:164:in
`broadcast'
cucumber (0.7.3) bin/./lib/cucumber/ast/tree_walker.rb:13:in
`visit_features'
cucumber (0.7.3) bin/./lib/cucumber/cli/main.rb:66:in `execute!'
cucumber (0.7.3) bin/./lib/cucumber/cli/main.rb:25:in `execute'
cucumber (0.7.3) bin/cucumber:8
features/authentication.feature:27:in `When I login'
Called id for nil, which would mistakenly be 4 -- if you really wanted
the id of nil, use object_id (ActionView::TemplateError)
On line #21 of app/views/dashboard/summary.haml
18: %p
19: Ready to work in the cloud?</p>
20: #getting_started_links
21: %a{:class => "button_link", :href =>
url_for(:controller => :pool, :action => :show, :id =>
@current_users_pool.id)}
22: Go to my personal pool
23: %a{:href => url_for(:controller => :user, :action
=> :pools, :id => @current_user.id)}
24: Show all my pools
app/views/dashboard/summary.haml:21:in
`_run_haml_app47views47dashboard47summary46haml'
haml (2.2.24) rails/./lib/haml/helpers/action_view_mods.rb:13:in
`render_without_mock_proxy'
/home/jay/.gem/ruby/1.8/gems/rspec-rails-1.3.2/lib/spec/rails/extensions/action_view/base.rb:27:in
`render'
haml (2.2.24) rails/./lib/haml/helpers/action_view_mods.rb:13:in
`render_without_mock_proxy'
/home/jay/.gem/ruby/1.8/gems/rspec-rails-1.3.2/lib/spec/rails/extensions/action_view/base.rb:27:in
`render'
app/controllers/dashboard_controller.rb:29:in `index'
haml (2.2.24) rails/./lib/sass/plugin/rails.rb:20:in `process'
webrat (0.7.1) lib/webrat/adapters/rails.rb:50:in `send'
webrat (0.7.1) lib/webrat/adapters/rails.rb:50:in `do_request'
webrat (0.7.1) lib/webrat/adapters/rails.rb:15:in `get'
(__FORWARDABLE__):3:in `__send__'
(__FORWARDABLE__):3:in `get'
webrat (0.7.1) lib/webrat/core/session.rb:280:in `send'
webrat (0.7.1) lib/webrat/core/session.rb:280:in `process_request'
webrat (0.7.1) lib/webrat/core/session.rb:119:in `request_page'
webrat (0.7.1) lib/webrat/core/session.rb:132:in `request_page'
webrat (0.7.1) lib/webrat/core/elements/form.rb:20:in `submit'
webrat (0.7.1) lib/webrat/core/elements/field.rb:193:in `click'
webrat (0.7.1) lib/webrat/core/scope.rb:291:in `click_button'
(__FORWARDABLE__):3:in `__send__'
(__FORWARDABLE__):3:in `click_button'
webrat (0.7.1) lib/webrat/core/methods.rb:7:in `click_button'
features/step_definitions/authentication.rb:10:in `login'
features/step_definitions/authentication.rb:22:in `__instance_exec0'
cucumber (0.7.3) bin/./lib/cucumber/core_ext/instance_exec.rb:26:in
`send'
cucumber (0.7.3) bin/./lib/cucumber/core_ext/instance_exec.rb:26:in
`instance_exec'
cucumber (0.7.3) bin/./lib/cucumber/core_ext/instance_exec.rb:48:in
`cucumber_instance_exec'
cucumber (0.7.3) bin/./lib/cucumber/core_ext/instance_exec.rb:69:in
`cucumber_run_with_backtrace_filtering'
cucumber (0.7.3) bin/./lib/cucumber/core_ext/instance_exec.rb:36:in
`cucumber_instance_exec'
cucumber (0.7.3)
bin/./lib/cucumber/rb_support/rb_step_definition.rb:54:in `invoke'
cucumber (0.7.3) bin/./lib/cucumber/step_match.rb:26:in `invoke'
cucumber (0.7.3) bin/./lib/cucumber/ast/step_invocation.rb:62:in
`invoke'
cucumber (0.7.3) bin/./lib/cucumber/ast/step_invocation.rb:41:in
`accept'
cucumber (0.7.3) bin/./lib/cucumber/ast/tree_walker.rb:99:in
`visit_step'
cucumber (0.7.3) bin/./lib/cucumber/ast/tree_walker.rb:164:in
`broadcast'
cucumber (0.7.3) bin/./lib/cucumber/ast/tree_walker.rb:98:in
`visit_step'
cucumber (0.7.3) bin/./lib/cucumber/ast/step_collection.rb:15:in
`accept'
cucumber (0.7.3) bin/./lib/cucumber/ast/step_collection.rb:14:in
`each'
cucumber (0.7.3) bin/./lib/cucumber/ast/step_collection.rb:14:in
`accept'
cucumber (0.7.3) bin/./lib/cucumber/ast/tree_walker.rb:93:in
`visit_steps'
cucumber (0.7.3) bin/./lib/cucumber/ast/tree_walker.rb:164:in
`broadcast'
cucumber (0.7.3) bin/./lib/cucumber/ast/tree_walker.rb:92:in
`visit_steps'
cucumber (0.7.3) bin/./lib/cucumber/ast/scenario.rb:54:in `accept'
cucumber (0.7.3) bin/./lib/cucumber/step_mother.rb:330:in
`before_and_after'
cucumber (0.7.3) bin/./lib/cucumber/ast/scenario.rb:52:in `accept'
cucumber (0.7.3) bin/./lib/cucumber/step_mother.rb:319:in `call'
cucumber (0.7.3) bin/./lib/cucumber/step_mother.rb:319:in `around'
cucumber (0.7.3)
bin/./lib/cucumber/language_support/language_methods.rb:13:in `around'
cucumber (0.7.3)
bin/./lib/cucumber/language_support/language_methods.rb:95:in `call'
cucumber (0.7.3)
bin/./lib/cucumber/language_support/language_methods.rb:95:in
`execute_around'
cucumber (0.7.3)
bin/./lib/cucumber/language_support/language_methods.rb:12:in `around'
cucumber (0.7.3) bin/./lib/cucumber/step_mother.rb:318:in `around'
cucumber (0.7.3) bin/./lib/cucumber/step_mother.rb:316:in `call'
cucumber (0.7.3) bin/./lib/cucumber/step_mother.rb:316:in `around'
cucumber (0.7.3) bin/./lib/cucumber/ast/scenario.rb:51:in `accept'
cucumber (0.7.3) bin/./lib/cucumber/ast/scenario.rb:108:in
`with_visitor'
cucumber (0.7.3) bin/./lib/cucumber/ast/scenario.rb:45:in `accept'
cucumber (0.7.3) bin/./lib/cucumber/ast/tree_walker.rb:51:in
`visit_feature_element'
cucumber (0.7.3) bin/./lib/cucumber/ast/tree_walker.rb:164:in
`broadcast'
cucumber (0.7.3) bin/./lib/cucumber/ast/tree_walker.rb:50:in
`visit_feature_element'
cucumber (0.7.3) bin/./lib/cucumber/ast/feature.rb:35:in `accept'
cucumber (0.7.3) bin/./lib/cucumber/ast/feature.rb:34:in `each'
cucumber (0.7.3) bin/./lib/cucumber/ast/feature.rb:34:in `accept'
cucumber (0.7.3) bin/./lib/cucumber/ast/tree_walker.rb:20:in
`visit_feature'
cucumber (0.7.3) bin/./lib/cucumber/ast/tree_walker.rb:164:in
`broadcast'
cucumber (0.7.3) bin/./lib/cucumber/ast/tree_walker.rb:19:in
`visit_feature'
cucumber (0.7.3) bin/./lib/cucumber/ast/features.rb:29:in `accept'
cucumber (0.7.3) bin/./lib/cucumber/ast/features.rb:17:in `each'
cucumber (0.7.3) bin/./lib/cucumber/ast/features.rb:17:in `each'
cucumber (0.7.3) bin/./lib/cucumber/ast/features.rb:28:in `accept'
cucumber (0.7.3) bin/./lib/cucumber/ast/tree_walker.rb:14:in
`visit_features'
cucumber (0.7.3) bin/./lib/cucumber/ast/tree_walker.rb:164:in
`broadcast'
cucumber (0.7.3) bin/./lib/cucumber/ast/tree_walker.rb:13:in
`visit_features'
cucumber (0.7.3) bin/./lib/cucumber/cli/main.rb:66:in `execute!'
cucumber (0.7.3) bin/./lib/cucumber/cli/main.rb:25:in `execute'
cucumber (0.7.3) bin/cucumber:8
features/authentication.feature:39:in `Given I am logged in'
Called id for nil, which would mistakenly be 4 -- if you really wanted
the id of nil, use object_id (ActionView::TemplateError)
On line #21 of app/views/dashboard/summary.haml
18: %p
19: Ready to work in the cloud?</p>
20: #getting_started_links
21: %a{:class => "button_link", :href =>
url_for(:controller => :pool, :action => :show, :id =>
@current_users_pool.id)}
22: Go to my personal pool
23: %a{:href => url_for(:controller => :user, :action
=> :pools, :id => @current_user.id)}
24: Show all my pools
app/views/dashboard/summary.haml:21:in
`_run_haml_app47views47dashboard47summary46haml'
haml (2.2.24) rails/./lib/haml/helpers/action_view_mods.rb:13:in
`render_without_mock_proxy'
/home/jay/.gem/ruby/1.8/gems/rspec-rails-1.3.2/lib/spec/rails/extensions/action_view/base.rb:27:in
`render'
haml (2.2.24) rails/./lib/haml/helpers/action_view_mods.rb:13:in
`render_without_mock_proxy'
/home/jay/.gem/ruby/1.8/gems/rspec-rails-1.3.2/lib/spec/rails/extensions/action_view/base.rb:27:in
`render'
app/controllers/dashboard_controller.rb:29:in `index'
haml (2.2.24) rails/./lib/sass/plugin/rails.rb:20:in `process'
webrat (0.7.1) lib/webrat/adapters/rails.rb:50:in `send'
webrat (0.7.1) lib/webrat/adapters/rails.rb:50:in `do_request'
webrat (0.7.1) lib/webrat/adapters/rails.rb:15:in `get'
(__FORWARDABLE__):3:in `__send__'
(__FORWARDABLE__):3:in `get'
webrat (0.7.1) lib/webrat/core/session.rb:280:in `send'
webrat (0.7.1) lib/webrat/core/session.rb:280:in `process_request'
webrat (0.7.1) lib/webrat/core/session.rb:119:in `request_page'
webrat (0.7.1) lib/webrat/core/session.rb:132:in `request_page'
webrat (0.7.1) lib/webrat/core/elements/form.rb:20:in `submit'
webrat (0.7.1) lib/webrat/core/elements/field.rb:193:in `click'
webrat (0.7.1) lib/webrat/core/scope.rb:291:in `click_button'
(__FORWARDABLE__):3:in `__send__'
(__FORWARDABLE__):3:in `click_button'
webrat (0.7.1) lib/webrat/core/methods.rb:7:in `click_button'
features/step_definitions/authentication.rb:10:in `login'
features/step_definitions/authentication.rb:22:in `__instance_exec0'
cucumber (0.7.3) bin/./lib/cucumber/core_ext/instance_exec.rb:26:in
`send'
cucumber (0.7.3) bin/./lib/cucumber/core_ext/instance_exec.rb:26:in
`instance_exec'
cucumber (0.7.3) bin/./lib/cucumber/core_ext/instance_exec.rb:48:in
`cucumber_instance_exec'
cucumber (0.7.3) bin/./lib/cucumber/core_ext/instance_exec.rb:69:in
`cucumber_run_with_backtrace_filtering'
cucumber (0.7.3) bin/./lib/cucumber/core_ext/instance_exec.rb:36:in
`cucumber_instance_exec'
cucumber (0.7.3)
bin/./lib/cucumber/rb_support/rb_step_definition.rb:54:in `invoke'
cucumber (0.7.3) bin/./lib/cucumber/step_match.rb:26:in `invoke'
cucumber (0.7.3) bin/./lib/cucumber/ast/step_invocation.rb:62:in
`invoke'
cucumber (0.7.3) bin/./lib/cucumber/ast/step_invocation.rb:41:in
`accept'
cucumber (0.7.3) bin/./lib/cucumber/ast/tree_walker.rb:99:in
`visit_step'
cucumber (0.7.3) bin/./lib/cucumber/ast/tree_walker.rb:164:in
`broadcast'
cucumber (0.7.3) bin/./lib/cucumber/ast/tree_walker.rb:98:in
`visit_step'
cucumber (0.7.3) bin/./lib/cucumber/ast/step_collection.rb:15:in
`accept'
cucumber (0.7.3) bin/./lib/cucumber/ast/step_collection.rb:14:in
`each'
cucumber (0.7.3) bin/./lib/cucumber/ast/step_collection.rb:14:in
`accept'
cucumber (0.7.3) bin/./lib/cucumber/ast/tree_walker.rb:93:in
`visit_steps'
cucumber (0.7.3) bin/./lib/cucumber/ast/tree_walker.rb:164:in
`broadcast'
cucumber (0.7.3) bin/./lib/cucumber/ast/tree_walker.rb:92:in
`visit_steps'
cucumber (0.7.3) bin/./lib/cucumber/ast/scenario.rb:54:in `accept'
cucumber (0.7.3) bin/./lib/cucumber/step_mother.rb:330:in
`before_and_after'
cucumber (0.7.3) bin/./lib/cucumber/ast/scenario.rb:52:in `accept'
cucumber (0.7.3) bin/./lib/cucumber/step_mother.rb:319:in `call'
cucumber (0.7.3) bin/./lib/cucumber/step_mother.rb:319:in `around'
cucumber (0.7.3)
bin/./lib/cucumber/language_support/language_methods.rb:13:in `around'
cucumber (0.7.3)
bin/./lib/cucumber/language_support/language_methods.rb:95:in `call'
cucumber (0.7.3)
bin/./lib/cucumber/language_support/language_methods.rb:95:in
`execute_around'
cucumber (0.7.3)
bin/./lib/cucumber/language_support/language_methods.rb:12:in `around'
cucumber (0.7.3) bin/./lib/cucumber/step_mother.rb:318:in `around'
cucumber (0.7.3) bin/./lib/cucumber/step_mother.rb:316:in `call'
cucumber (0.7.3) bin/./lib/cucumber/step_mother.rb:316:in `around'
cucumber (0.7.3) bin/./lib/cucumber/ast/scenario.rb:51:in `accept'
cucumber (0.7.3) bin/./lib/cucumber/ast/scenario.rb:108:in
`with_visitor'
cucumber (0.7.3) bin/./lib/cucumber/ast/scenario.rb:45:in `accept'
cucumber (0.7.3) bin/./lib/cucumber/ast/tree_walker.rb:51:in
`visit_feature_element'
cucumber (0.7.3) bin/./lib/cucumber/ast/tree_walker.rb:164:in
`broadcast'
cucumber (0.7.3) bin/./lib/cucumber/ast/tree_walker.rb:50:in
`visit_feature_element'
cucumber (0.7.3) bin/./lib/cucumber/ast/feature.rb:35:in `accept'
cucumber (0.7.3) bin/./lib/cucumber/ast/feature.rb:34:in `each'
cucumber (0.7.3) bin/./lib/cucumber/ast/feature.rb:34:in `accept'
cucumber (0.7.3) bin/./lib/cucumber/ast/tree_walker.rb:20:in
`visit_feature'
cucumber (0.7.3) bin/./lib/cucumber/ast/tree_walker.rb:164:in
`broadcast'
cucumber (0.7.3) bin/./lib/cucumber/ast/tree_walker.rb:19:in
`visit_feature'
cucumber (0.7.3) bin/./lib/cucumber/ast/features.rb:29:in `accept'
cucumber (0.7.3) bin/./lib/cucumber/ast/features.rb:17:in `each'
cucumber (0.7.3) bin/./lib/cucumber/ast/features.rb:17:in `each'
cucumber (0.7.3) bin/./lib/cucumber/ast/features.rb:28:in `accept'
cucumber (0.7.3) bin/./lib/cucumber/ast/tree_walker.rb:14:in
`visit_features'
cucumber (0.7.3) bin/./lib/cucumber/ast/tree_walker.rb:164:in
`broadcast'
cucumber (0.7.3) bin/./lib/cucumber/ast/tree_walker.rb:13:in
`visit_features'
cucumber (0.7.3) bin/./lib/cucumber/cli/main.rb:66:in `execute!'
cucumber (0.7.3) bin/./lib/cucumber/cli/main.rb:25:in `execute'
cucumber (0.7.3) bin/cucumber:8
features/authentication.feature:50:in `Given I am logged in'
Called id for nil, which would mistakenly be 4 -- if you really wanted
the id of nil, use object_id (ActionView::TemplateError)
On line #21 of app/views/dashboard/summary.haml
18: %p
19: Ready to work in the cloud?</p>
20: #getting_started_links
21: %a{:class => "button_link", :href =>
url_for(:controller => :pool, :action => :show, :id =>
@current_users_pool.id)}
22: Go to my personal pool
23: %a{:href => url_for(:controller => :user, :action
=> :pools, :id => @current_user.id)}
24: Show all my pools
app/views/dashboard/summary.haml:21:in
`_run_haml_app47views47dashboard47summary46haml'
haml (2.2.24) rails/./lib/haml/helpers/action_view_mods.rb:13:in
`render_without_mock_proxy'
/home/jay/.gem/ruby/1.8/gems/rspec-rails-1.3.2/lib/spec/rails/extensions/action_view/base.rb:27:in
`render'
haml (2.2.24) rails/./lib/haml/helpers/action_view_mods.rb:13:in
`render_without_mock_proxy'
/home/jay/.gem/ruby/1.8/gems/rspec-rails-1.3.2/lib/spec/rails/extensions/action_view/base.rb:27:in
`render'
app/controllers/dashboard_controller.rb:29:in `index'
haml (2.2.24) rails/./lib/sass/plugin/rails.rb:20:in `process'
webrat (0.7.1) lib/webrat/adapters/rails.rb:50:in `send'
webrat (0.7.1) lib/webrat/adapters/rails.rb:50:in `do_request'
webrat (0.7.1) lib/webrat/adapters/rails.rb:15:in `get'
(__FORWARDABLE__):3:in `__send__'
(__FORWARDABLE__):3:in `get'
webrat (0.7.1) lib/webrat/core/session.rb:280:in `send'
webrat (0.7.1) lib/webrat/core/session.rb:280:in `process_request'
webrat (0.7.1) lib/webrat/core/session.rb:119:in `request_page'
webrat (0.7.1) lib/webrat/core/session.rb:132:in `request_page'
webrat (0.7.1) lib/webrat/core/elements/form.rb:20:in `submit'
webrat (0.7.1) lib/webrat/core/elements/field.rb:193:in `click'
webrat (0.7.1) lib/webrat/core/scope.rb:291:in `click_button'
(__FORWARDABLE__):3:in `__send__'
(__FORWARDABLE__):3:in `click_button'
webrat (0.7.1) lib/webrat/core/methods.rb:7:in `click_button'
features/step_definitions/authentication.rb:10:in `login'
features/step_definitions/authentication.rb:22:in `__instance_exec0'
cucumber (0.7.3) bin/./lib/cucumber/core_ext/instance_exec.rb:26:in
`send'
cucumber (0.7.3) bin/./lib/cucumber/core_ext/instance_exec.rb:26:in
`instance_exec'
cucumber (0.7.3) bin/./lib/cucumber/core_ext/instance_exec.rb:48:in
`cucumber_instance_exec'
cucumber (0.7.3) bin/./lib/cucumber/core_ext/instance_exec.rb:69:in
`cucumber_run_with_backtrace_filtering'
cucumber (0.7.3) bin/./lib/cucumber/core_ext/instance_exec.rb:36:in
`cucumber_instance_exec'
cucumber (0.7.3)
bin/./lib/cucumber/rb_support/rb_step_definition.rb:54:in `invoke'
cucumber (0.7.3) bin/./lib/cucumber/step_match.rb:26:in `invoke'
cucumber (0.7.3) bin/./lib/cucumber/ast/step_invocation.rb:62:in
`invoke'
cucumber (0.7.3) bin/./lib/cucumber/ast/step_invocation.rb:41:in
`accept'
cucumber (0.7.3) bin/./lib/cucumber/ast/tree_walker.rb:99:in
`visit_step'
cucumber (0.7.3) bin/./lib/cucumber/ast/tree_walker.rb:164:in
`broadcast'
cucumber (0.7.3) bin/./lib/cucumber/ast/tree_walker.rb:98:in
`visit_step'
cucumber (0.7.3) bin/./lib/cucumber/ast/step_collection.rb:15:in
`accept'
cucumber (0.7.3) bin/./lib/cucumber/ast/step_collection.rb:14:in
`each'
cucumber (0.7.3) bin/./lib/cucumber/ast/step_collection.rb:14:in
`accept'
cucumber (0.7.3) bin/./lib/cucumber/ast/tree_walker.rb:93:in
`visit_steps'
cucumber (0.7.3) bin/./lib/cucumber/ast/tree_walker.rb:164:in
`broadcast'
cucumber (0.7.3) bin/./lib/cucumber/ast/tree_walker.rb:92:in
`visit_steps'
cucumber (0.7.3) bin/./lib/cucumber/ast/background.rb:38:in `accept'
cucumber (0.7.3) bin/./lib/cucumber/ast/background.rb:48:in
`with_visitor'
cucumber (0.7.3) bin/./lib/cucumber/ast/scenario.rb:108:in
`with_visitor'
cucumber (0.7.3) bin/./lib/cucumber/ast/background.rb:47:in
`with_visitor'
cucumber (0.7.3) bin/./lib/cucumber/ast/background.rb:36:in `accept'
cucumber (0.7.3) bin/./lib/cucumber/ast/tree_walker.rb:57:in
`visit_background'
cucumber (0.7.3) bin/./lib/cucumber/ast/tree_walker.rb:164:in
`broadcast'
cucumber (0.7.3) bin/./lib/cucumber/ast/tree_walker.rb:56:in
`visit_background'
cucumber (0.7.3) bin/./lib/cucumber/ast/feature.rb:33:in `accept'
cucumber (0.7.3) bin/./lib/cucumber/ast/tree_walker.rb:20:in
`visit_feature'
cucumber (0.7.3) bin/./lib/cucumber/ast/tree_walker.rb:164:in
`broadcast'
cucumber (0.7.3) bin/./lib/cucumber/ast/tree_walker.rb:19:in
`visit_feature'
cucumber (0.7.3) bin/./lib/cucumber/ast/features.rb:29:in `accept'
cucumber (0.7.3) bin/./lib/cucumber/ast/features.rb:17:in `each'
cucumber (0.7.3) bin/./lib/cucumber/ast/features.rb:17:in `each'
cucumber (0.7.3) bin/./lib/cucumber/ast/features.rb:28:in `accept'
cucumber (0.7.3) bin/./lib/cucumber/ast/tree_walker.rb:14:in
`visit_features'
cucumber (0.7.3) bin/./lib/cucumber/ast/tree_walker.rb:164:in
`broadcast'
cucumber (0.7.3) bin/./lib/cucumber/ast/tree_walker.rb:13:in
`visit_features'
cucumber (0.7.3) bin/./lib/cucumber/cli/main.rb:66:in `execute!'
cucumber (0.7.3) bin/./lib/cucumber/cli/main.rb:25:in `execute'
cucumber (0.7.3) bin/cucumber:8
features/pool.feature:8:in `And I am logged in'
Failing Scenarios:
cucumber features/authentication.feature:7 # Scenario: Register as new
user
cucumber features/authentication.feature:24 # Scenario: Log in as
registered user
cucumber features/authentication.feature:38 # Scenario: Edit profile
cucumber features/authentication.feature:49 # Scenario: log out
cucumber features/pool.feature:10 # Scenario: Create a new Pool
8 scenarios (5 failed, 2 skipped, 1 passed)
67 steps (5 failed, 48 skipped, 14 passed)
_______________________________________________
deltacloud-devel mailing list
deltacloud-devel(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/deltacloud-devel