Module: ResponseSpecHelper
- Defined in:
- lib/whatcounts/spec/spec_helper.rb
Instance Method Summary collapse
- #mock_failure_response ⇒ Object
- #mock_invalid_password_response ⇒ Object
- #mock_success_response ⇒ Object
Instance Method Details
#mock_failure_response ⇒ Object
12 13 14 |
# File 'lib/whatcounts/spec/spec_helper.rb', line 12 def mock_failure_response "FAILURE: Something went wrong" end |
#mock_invalid_password_response ⇒ Object
16 17 18 |
# File 'lib/whatcounts/spec/spec_helper.rb', line 16 def mock_invalid_password_response "Password (asdf) doesn't match entry for API user credentials in database" end |
#mock_success_response ⇒ Object
8 9 10 |
# File 'lib/whatcounts/spec/spec_helper.rb', line 8 def mock_success_response "SUCCESS: mail will be sent to [email protected]" end |