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

Test/signup functional test #18

Open
wants to merge 12 commits into
base: dev
Choose a base branch
from
Open

Test/signup functional test #18

wants to merge 12 commits into from

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.

None yet

2 participants