From c83fd63f5e85e2873244d7a4ec669a9092b4cefd Mon Sep 17 00:00:00 2001 From: Ruben Espinosa Date: Mon, 11 Mar 2013 17:09:41 -0500 Subject: [PATCH] new test --- spec/test_payment_spec.rb | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/spec/test_payment_spec.rb b/spec/test_payment_spec.rb index 5e297b6..e9307e6 100644 --- a/spec/test_payment_spec.rb +++ b/spec/test_payment_spec.rb @@ -8,4 +8,10 @@ annuity_given_present(100000000, 0.0144594763, 180).should eq(1563975.1395) end -end \ No newline at end of file +end + +describe "variable payment test" do + it "should be the monthly variable payment" do + variable_payment(10000000.0,40).should eq(250000) + end +end