Displaying 2 results from an estimated 2 matches for "interact_control".
2008 Jan 21
1
specin'' update_attributes! + Hash
...xpected :update_attributes with
({:customer_details=>"--- !map:HashWithIndifferentAccess \\ntitle:
Hola\\n"}) but received it with ({:customer_details=>"---
!map:HashWithIndifferentAccess \ntitle: Hola\n"})
C:/webapps/interact/branches/interact_new_features/app/controllers/interact_controller.rb:74:in
`submit''
./spec/controllers/interact_controller_spec.rb:200:
script/spec:4:
***
*** here''s how i am testing it:
@instance.should_receive(:update_attributes).with(:customer_details=>
''--- map:HashWithIndifferentAccess \ntitle: Hola\n'')
post :submi...
2009 Dec 13
20
Need help...NameError in InteractController#add_to_cart
...cal variable or method `find_cart'' for #<InteractController:0x1042d0780>RAILS_ROOT: /Users/oluwayomioluwadara/Documents/CED/coursework/heritage/heritageApplication Trace | Framework Trace | Full Trace/Users/oluwayomioluwadara/Documents/CED/coursework/heritage/heritage/app/controllers/interact_controller.rb:8:in `add_to_cart''
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.4/lib/action_controller/base.rb:1331:in `send''
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.4/lib/action_controller/base.rb:1331:in `perform_action_without_filters'' /Library/Ruby/Gems/1.8/gems/actionpack-2....