add payment tests
This commit is contained in:
parent
a5bb038f61
commit
7b23018a06
2 changed files with 53 additions and 0 deletions
9
spec/factories/payments.rb
Normal file
9
spec/factories/payments.rb
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FactoryGirl.define do
|
||||
factory :payment do
|
||||
user
|
||||
conference
|
||||
last4 4242
|
||||
authorization_code 1234567890
|
||||
amount 10
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue