Guest User

Untitled

a guest
May 23rd, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
  2.  
  3.  
  4. describe PaypalPaymentsController do
  5. fixtures :orders
  6.  
  7. # TODO-verify that tax is being added to the order
  8. # TODO-verify that shipping is being added to the order
  9.  
  10. before(:each) do
  11. @order = orders(:sample_order)
  12. end
  13.  
  14. describe "create" do
  15. describe "after success" do
  16.  
  17. it "should create a paypal payment associated with the order" do
  18. #post order_paypal_payment_url(@order)#:create
  19. end
  20. it "should create a transaction for the paypal payment with the relevant info"
  21. end
  22. end
  23.  
  24. end
Add Comment
Please, Sign In to add comment