Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ATM, Janko, Blake and Jaime #16

Open
wants to merge 63 commits into
base: master
Choose a base branch
from
Open

Conversation

JaimeCrz
Copy link

@JaimeCrz JaimeCrz commented Feb 7, 2020

ATM Challenge
https://github.com/JaimeCrz/atm_challenge_2019

PR Content.

In this PR we are creating an ATM.

This PR contains:

  • Configurations for ATM.
  • Feature Test.
  • Person model.

What we have learned.

  • Writing test and better usage of methods.
  • How the set up a work space between more than two developer( Three developers)

JaimeCrz and others added 30 commits February 3, 2020 15:32
Added a test on rspec that tests the withdrawal
Copy link
Contributor

@faraznaeem faraznaeem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job, pin code is missing in the readme, mind your indentation and the extra lines in the future

end

def self.deactivate(account)
account.account_status = :deactivated
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you guys use a class method here?


def missing_owner
raise "An Account owner is required"
end
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make sure that you are using the proper indentation


when account_disabled?(account.account_status)
{status: false, message: 'account is disabled', date: Date.today}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need for extra lines

# This file was generated by the `rspec --init` command. Conventionally, all
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
# The generated `.rspec` file contains `--require spec_helper` which will cause
# this file to always be loaded, without a need to explicitly require it in any
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

always clean out comments

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.

4 participants