search for: set_state_to_open_for_free_request

Displaying 1 result from an estimated 1 matches for "set_state_to_open_for_free_request".

2011 Dec 02
2
problem setting expectation for test with delayed::job
.../Error: post :create, { :submit_action => submit_type.to_s, :post => new_post(post_attributes).attributes } ArgumentError: Cannot enqueue items which do not respond to perform # ./app/observers/post_observer.rb:12:in `after_create'' # ./app/models/post.rb:156:in `set_state_to_open_for_free_requests'' # ./app/controllers/posts_controller.rb:39:in `create'' # ./spec/controllers/post_controller_spec.rb:8:in `do_post'' # ./spec/controllers/post_controller_spec.rb:77 # ./spec/controllers/post_controller_spec.rb:75 Patrick J. Collins http://collinatorst...