{"push_id":818755551,"size":28,"distinct_size":0,"ref":"refs/heads/master","head":"eb874ecb57bbdbe0d3f419fe1d8fa2502e6a31a5","before":"3e30a765ef364ffb6db2a5f75fbb07d30f8c94fe","commits":[{"sha":"10278b91f3abe70ab8f1da50855da96eb5f49dda","author":{"email":"688085edcac35a6f5d4cd9ba4db0e893cb0d2736@gmail.com","name":"petrero"},"message":"First spec with no assertion(expection)","distinct":false,"url":"https://api.github.com/repos/pyterDiaconescu/Jasmine-Javascript-Testing/commits/10278b91f3abe70ab8f1da50855da96eb5f49dda"},{"sha":"59b1a9545fa27db737dd5e718f5a88186050fb2b","author":{"email":"688085edcac35a6f5d4cd9ba4db0e893cb0d2736@gmail.com","name":"petrero"},"message":"Check if the actual value (investment.stock) and expected value (stock) are the same using the matcher function toBe. At this moment they are not","distinct":false,"url":"https://api.github.com/repos/pyterDiaconescu/Jasmine-Javascript-Testing/commits/59b1a9545fa27db737dd5e718f5a88186050fb2b"},{"sha":"fad7b38cbdc3c207368387647d8ecbfd692055a7","author":{"email":"688085edcac35a6f5d4cd9ba4db0e893cb0d2736@gmail.com","name":"petrero"},"message":"Create Investment function.","distinct":false,"url":"https://api.github.com/repos/pyterDiaconescu/Jasmine-Javascript-Testing/commits/fad7b38cbdc3c207368387647d8ecbfd692055a7"},{"sha":"f3ab05d64fa4fff10c0f4bb2da8d8e7d281411ad","author":{"email":"688085edcac35a6f5d4cd9ba4db0e893cb0d2736@gmail.com","name":"petrero"},"message":"Define stock function. Now spec file raise one failure Expected undefined to be Stock({})","distinct":false,"url":"https://api.github.com/repos/pyterDiaconescu/Jasmine-Javascript-Testing/commits/f3ab05d64fa4fff10c0f4bb2da8d8e7d281411ad"},{"sha":"8fdc1b761ca5693a229a460704ccdf845ce7a5f2","author":{"email":"688085edcac35a6f5d4cd9ba4db0e893cb0d2736@gmail.com","name":"petrero"},"message":"Make the spec file to pass","distinct":false,"url":"https://api.github.com/repos/pyterDiaconescu/Jasmine-Javascript-Testing/commits/8fdc1b761ca5693a229a460704ccdf845ce7a5f2"},{"sha":"9d50244317e3d7cb6250d934cfed54ac8225d0b4","author":{"email":"688085edcac35a6f5d4cd9ba4db0e893cb0d2736@gmail.com","name":"petrero"},"message":"Make a spec that checks assertion 'Given an investment, it should have the invested shares' quantity'","distinct":false,"url":"https://api.github.com/repos/pyterDiaconescu/Jasmine-Javascript-Testing/commits/9d50244317e3d7cb6250d934cfed54ac8225d0b4"},{"sha":"74d49808f7097c6ac4384f76f5b91cfde0e717d6","author":{"email":"688085edcac35a6f5d4cd9ba4db0e893cb0d2736@gmail.com","name":"petrero"},"message":"Change call to the Investment constructor to support the new shares parameter. To do so, we used an object as a single parameter in the constructor to simulate named parameters, a feature JavaScript doesn't have natively.","distinct":false,"url":"https://api.github.com/repos/pyterDiaconescu/Jasmine-Javascript-Testing/commits/74d49808f7097c6ac4384f76f5b91cfde0e717d6"},{"sha":"1cdc2e81eb81463febcdf57e48797f1c9f890964","author":{"email":"688085edcac35a6f5d4cd9ba4db0e893cb0d2736@gmail.com","name":"petrero"},"message":"The second spec pass now.","distinct":false,"url":"https://api.github.com/repos/pyterDiaconescu/Jasmine-Javascript-Testing/commits/1cdc2e81eb81463febcdf57e48797f1c9f890964"},{"sha":"e60ccec05fe7a9af12c86a9cdd2ea5c276508fd7","author":{"email":"688085edcac35a6f5d4cd9ba4db0e893cb0d2736@gmail.com","name":"petrero"},"message":"refactor the specs","distinct":false,"url":"https://api.github.com/repos/pyterDiaconescu/Jasmine-Javascript-Testing/commits/e60ccec05fe7a9af12c86a9cdd2ea5c276508fd7"},{"sha":"857b282e6f36fa911e94bc06f94e6eedaf48ef1e","author":{"email":"688085edcac35a6f5d4cd9ba4db0e893cb0d2736@gmail.com","name":"petrero"},"message":"Two more specs.","distinct":false,"url":"https://api.github.com/repos/pyterDiaconescu/Jasmine-Javascript-Testing/commits/857b282e6f36fa911e94bc06f94e6eedaf48ef1e"},{"sha":"6ac2d37ba1f09660cf051a21233e02ae06773dbb","author":{"email":"688085edcac35a6f5d4cd9ba4db0e893cb0d2736@gmail.com","name":"petrero"},"message":"Everything pass again.","distinct":false,"url":"https://api.github.com/repos/pyterDiaconescu/Jasmine-Javascript-Testing/commits/6ac2d37ba1f09660cf051a21233e02ae06773dbb"},{"sha":"e7114424c1371a7006e3477807ae242b90bc9b4e","author":{"email":"688085edcac35a6f5d4cd9ba4db0e893cb0d2736@gmail.com","name":"petrero"},"message":"Coding a spec with shared behavior.","distinct":false,"url":"https://api.github.com/repos/pyterDiaconescu/Jasmine-Javascript-Testing/commits/e7114424c1371a7006e3477807ae242b90bc9b4e"},{"sha":"920c08128e4847ac0fedd2f820c67063c7ddb660","author":{"email":"688085edcac35a6f5d4cd9ba4db0e893cb0d2736@gmail.com","name":"petrero"},"message":"Spec 'should be a good investment' becomes 'expect investment to be a good investment'. We do so by calling jasmine.addMatchers function. The addMatchers function accepts a single parameter - an object where each attribute corresponds to a new matcher. Function toBeAGoodInvestment defined here is not the matcher itself but a factory function to build the matcher. Its purpose, once called is to return an object containing a compare function. Compare function contain the actual matcher implementationand it receives both values being compared (the actual and expected values). For this example, the investment object will be available in the actual argument. Jasmine expects as the result of this compare function an object with a pass attribute with a boolean value true to indicate that the expectation passes and false if the expectation fails.","distinct":false,"url":"https://api.github.com/repos/pyterDiaconescu/Jasmine-Javascript-Testing/commits/920c08128e4847ac0fedd2f820c67063c7ddb660"},{"sha":"5be04124b12d1d2ddf81d43d16f8fe9d2891874e","author":{"email":"688085edcac35a6f5d4cd9ba4db0e893cb0d2736@gmail.com","name":"petrero"},"message":"Change the message returned by a failed spec to a more descriptive one.","distinct":false,"url":"https://api.github.com/repos/pyterDiaconescu/Jasmine-Javascript-Testing/commits/5be04124b12d1d2ddf81d43d16f8fe9d2891874e"},{"sha":"c9c5bf3678a02a1d6117eb07dcc1bbd7cb9a8bac","author":{"email":"688085edcac35a6f5d4cd9ba4db0e893cb0d2736@gmail.com","name":"petrero"},"message":"Negate a matcher.","distinct":false,"url":"https://api.github.com/repos/pyterDiaconescu/Jasmine-Javascript-Testing/commits/c9c5bf3678a02a1d6117eb07dcc1bbd7cb9a8bac"},{"sha":"e3b462f91afff31d4b4cfad35ff26fd614494427","author":{"email":"688085edcac35a6f5d4cd9ba4db0e893cb0d2736@gmail.com","name":"petrero"},"message":"Make a scenario for the case when stock share devalorizes.","distinct":false,"url":"https://api.github.com/repos/pyterDiaconescu/Jasmine-Javascript-Testing/commits/e3b462f91afff31d4b4cfad35ff26fd614494427"},{"sha":"0e5d5a5104b5ef06fe704bd4c0333b4aea82b511","author":{"email":"688085edcac35a6f5d4cd9ba4db0e893cb0d2736@gmail.com","name":"petrero"},"message":"Make response message returned by a spec dynamic.","distinct":false,"url":"https://api.github.com/repos/pyterDiaconescu/Jasmine-Javascript-Testing/commits/0e5d5a5104b5ef06fe704bd4c0333b4aea82b511"},{"sha":"f26422ae17623ff1b01c9ea3884f0c671ca511dc","author":{"email":"688085edcac35a6f5d4cd9ba4db0e893cb0d2736@gmail.com","name":"petrero"},"message":"Examples of toEqual built in Jasmine matcher.","distinct":false,"url":"https://api.github.com/repos/pyterDiaconescu/Jasmine-Javascript-Testing/commits/f26422ae17623ff1b01c9ea3884f0c671ca511dc"},{"sha":"89b188c937c320096a0a038b40176a9ed1b26448","author":{"email":"688085edcac35a6f5d4cd9ba4db0e893cb0d2736@gmail.com","name":"petrero"},"message":"Examples of toBe built in Jasmine matcher.","distinct":false,"url":"https://api.github.com/repos/pyterDiaconescu/Jasmine-Javascript-Testing/commits/89b188c937c320096a0a038b40176a9ed1b26448"},{"sha":"f64d116b8ef2e8696b84102b290db90a5fb00446","author":{"email":"688085edcac35a6f5d4cd9ba4db0e893cb0d2736@gmail.com","name":"petrero"},"message":"Examples of toBeFalsy built in Jasmine matcher.","distinct":false,"url":"https://api.github.com/repos/pyterDiaconescu/Jasmine-Javascript-Testing/commits/f64d116b8ef2e8696b84102b290db90a5fb00446"}]}