Skip to content

Conversation

chaoen
Copy link
Contributor

@chaoen chaoen commented Mar 24, 2016

No description provided.

chaoen added 4 commits March 24, 2016 08:09
sinon.spy() => sinon.spy(Object, method)
add file src/components/auth/registerUser.functional.spec.js
add file .travis.yml for travis-ci
remove $q
remove makeDeferred
In this test both of them do not require.
controller.checkEmail();
$httpBackend.flush();
$rootScope.$digest();
expect(controller.emailIsValid).to.eq(true);
Copy link
Contributor

Choose a reason for hiding this comment

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

Line 68 to 81 and line 83 to 95 should be separated to different it() sections.

…emplate.

Remove some testing which is for unit test.
Change first argument of it() with a meaningful sentence.
Let sign-up controller has a compile template.
@Wilson-Su Wilson-Su added this to the sprint1 milestone Apr 12, 2016
@Wilson-Su
Copy link
Contributor

This PR has conflicts. Please resolve it.

@chaoen
Copy link
Contributor Author

chaoen commented Apr 26, 2016

i can't solve this branch confilcts. i will create a new branch and new PR

@chaoen chaoen closed this Apr 26, 2016
@chaoen chaoen reopened this Apr 26, 2016
@chaoen chaoen closed this Apr 26, 2016
update unit test in signin and signup
solve confilcts in .travis
@chaoen chaoen reopened this Apr 26, 2016
JuliusChen pushed a commit that referenced this pull request Mar 21, 2017
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