Skip to content

Spec test contract#25

Open
Pedro-Pezoa wants to merge 5 commits intospec_testsfrom
spec_test_contract
Open

Spec test contract#25
Pedro-Pezoa wants to merge 5 commits intospec_testsfrom
spec_test_contract

Conversation

@Pedro-Pezoa
Copy link
Copy Markdown
Collaborator

This branch is focused to add and cover all contract model/controller tests with Rspec.

New tests cheking the call for instance methods were added in the user model spec.
Some duplicate data were found and removed inside the pt locale about date formats.
The application now tests contract validations about the record attributes with the help of FactoryBot. A new contract spec was created with a contract builder for FactoryBot. Also the contract validations were updated to validate the contract attributes.
Both files were modified according with Rubocop code style evaluation manualy and automaticaly.
@Pedro-Pezoa Pedro-Pezoa self-assigned this Mar 11, 2019
@brunoocasali
Copy link
Copy Markdown
Contributor

@Pedro-Pezoa se esse PR foi feito sobre o #24 então este deve ser mesclado no #24 e o #24 deve ter a master como destino ;)

@Pedro-Pezoa Pedro-Pezoa changed the base branch from master to spec_tests March 14, 2019 19:12
Both files were modified to repair the broken build from Travis about the first 6 contract tests because of a error regarding a NillClass error.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants