Created
January 7, 2016 17:22
-
-
Save pacoguevara/7cc9e2be3f79aac9c84e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe "class methods" do | |
describe ".calc_amount" do | |
context "get the calc_amount of an invoice" | |
it "returns 0 when the invoice status is 'Cancelado'" | |
end | |
it "returns 0 when the invoice amount is nil" | |
end | |
it "returns 0 when the invoice has policies from the current company" | |
end | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment