0
@@ -768,6 +768,26 @@ UsersController handling PUT /users/dave
0
UsersController handling DELETE /users/dave
0
- should be unknown action
0
+(re: saved?) Comment.new(<invalid attrs>)
0
+- should not be attempted save
0
+(re: saved?) Comment.new(<invalid attrs>).save
0
+- should be attempted save
0
+(re: saved?) Comment.new(<invalid attrs>).save then update_attributes(<valid attrs>)
0
+- should be attempted save
0
+(re: saved?) Comment.new(<invalid attrs>).save then update_attributes(<valid attrs>).reload
0
+- should not be attempted save
0
+(re: saved?) Comment.new(<invalid attrs>).save then update_attributes(<valid attrs>).reload.save
0
+- should be attempted save
0
ActionView with resources_controller Helper
0
- should forward #resource_name to controller
0
- should forward #resources_name to controller
0
@@ -792,12 +812,6 @@ Helper#form_for_resource (when resource is existing record)
0
Helper#remote_form_for_resource (when resource is existing record)
0
- should call remote_form_for with update form options
0
-ResourcesController.load_enclosing_resources_filter_exists? when :find_filter defined
0
-- should call :find_filter with :load_enclosing_resources
0
-ResourcesController.load_enclosing_resources_filter_exists? when :find_filter not defined
0
-- should call :filter_chain
0
#load_enclosing_resources for resources_controller_for :tags (when route_enclosing_names is [['users', false]])
0
- should call load_wildcard once
0
- should call Specification.new('user', :singleton => false, :as => nil)
0
@@ -839,6 +853,12 @@ ResourcesController.load_enclosing_resources_filter_exists? when :find_filter no
0
- should call load_enclosing_resource_from_specification with user spec, then load_wildcard once with 'taggable'
0
- should call Specification.new with ('comment', :singleton => false, :as => 'taggable')
0
+ResourcesController.load_enclosing_resources_filter_exists? when :find_filter defined
0
+- should call :find_filter with :load_enclosing_resources
0
+ResourcesController.load_enclosing_resources_filter_exists? when :find_filter not defined
0
+- should call :filter_chain
0
ResourcesController (in general)
0
- nested_in :foo, :polymorphic => true, :class => User should raise argument error (no options or block with polymorphic)
0
- resources_controller_for :forums, :in => [:user, '*', '*', :comment] should raise argument error (no multiple wildcards in a row)
0
@@ -849,6 +869,10 @@ ResourcesController#enclosing_resource_name
0
A controller's resource_service
0
- may be explicitly set with #resource_service=
0
+- #save_resource should send resource.save
0
+- #resource_saved? should send resource.saved?
0
#route_enclosing_names TagsController for named_route:
0
- :new_tag should be []
0
@@ -870,6 +894,6 @@ A controller's resource_service
0
#route_enclosing_names Admin::Superduper::ForumsController for named_route:
0
- :admin_superduper_forums should be []
0
-Finished in
5.097926 seconds
0
+Finished in
8.867688 seconds
0
-593 examples, 0 failures
0
+605 examples, 0 failures