//A TDD test suite to check for correctness
//and accuracy of an OOP Model of a bank account


//fat arrows not allowed inside mocha test suite
//see ---> mochajs.org/#arrow-functions

const expect = require("chai").expect;
const Ade = require("../bank.js").Ade;


describe("Bank Account Suite", function(){
	describe("Initial account balance should be N5000", function() {
    	it("should be 5000", function() {
      expect(Ade._balance).to.equal(5000);
  	})});

  	describe("Initial account balance should be N5000", function() {
    	it("should return success msg", function() {
      expect(Ade.deposit(5000)).to.equal("TRANSACTION SUCCESSFUL: You now have 4000 in your account");
  	})});

})
@@ -476,47 +476,40 @@
 be(%22
-Initial account balance should be N5000
+Deposit method for class account
 %22, f

complete test spec for deposit method