Add some model tests (#9)
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #9
This commit is contained in:
parent
dd881ee41c
commit
e1a7f4fbbd
11 changed files with 113 additions and 37 deletions
|
@ -1,7 +1,9 @@
|
|||
require "test_helper"
|
||||
|
||||
class CreditCardBillTest < ActiveSupport::TestCase
|
||||
# test "the truth" do
|
||||
# assert true
|
||||
# end
|
||||
def test_unpaid
|
||||
credit_card_bill = credit_card_bills(:one)
|
||||
|
||||
assert_equal 870.00, credit_card_bill.unpaid
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue