Rails, rspec, Testing / 09.07.2013
Testing with rspec a create method in Controller which uses Devise and respond_with json format
This is the controller and the method create wich repond_with json format:
The file located in app/controller/invoices_controller.rb