Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Updated dashboard tests #592

Merged
merged 1 commit into from
Dec 3, 2015
Merged

Updated dashboard tests #592

merged 1 commit into from
Dec 3, 2015

Conversation

tladendo
Copy link
Contributor

@tladendo tladendo commented Dec 2, 2015

expect(controller.hasRatings).to.equal(true);
expect(controller.moneyEarned).not.to.exist;
it('variables should be initialized to correct value', function() {
expect(controller.profile.$$state.status).to.equal(2);
Copy link
Contributor

Choose a reason for hiding this comment

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

Just curious, is the double dollar sign $$state a property that we've defined or is it one of the double dollar sign Angular values that already exists?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's from Angular—it's one of the properties you get when you do the deferred.reject thing.

@nlitwin
Copy link
Contributor

nlitwin commented Dec 2, 2015

Curious about question above, but lgtm!

tladendo added a commit that referenced this pull request Dec 3, 2015
@tladendo tladendo merged commit c347e33 into dev Dec 3, 2015
@nlitwin nlitwin deleted the feature/SUP-2591 branch January 26, 2016 22:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants