Skip to content
This repository has been archived by the owner on May 28, 2019. It is now read-only.

Commit

Permalink
Terms should be enabled for native and oauth fxa (bug 1141613)
Browse files Browse the repository at this point in the history
  • Loading branch information
muffinresearch committed Mar 11, 2015
1 parent 8d80de5 commit d88f125
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion public/js/views/create-pin.js
Expand Up @@ -167,7 +167,7 @@ define([
var context = {
ctaText: this.gettext('Continue'),
pinTitle: this.gettext('Create PIN'),
showFxATerms: utils.useOAuthFxA(),
showFxATerms: true,
};
this.setTitle(this.gettext('Create PIN'));
this.renderTemplate('pin-form.html', context);
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/test-create-pin-204.js
Expand Up @@ -15,7 +15,7 @@ casper.test.begin('Login successful pin creation.', {

casper.waitForUrl(helpers.url('create-pin'), function() {
test.assertVisible('.pinbox', 'Pin entry widget should be displayed');
test.assertDoesntExist('.terms', 'Terms are not visible on create-pin if not FxA enabled');
test.assertExists('.terms', 'Terms exist on create-pin for native too');
this.sendKeys('.pinbox', '1234');
test.assertExists('.cta:enabled', 'Submit button is enabled');
this.click('.cta');
Expand Down

0 comments on commit d88f125

Please sign in to comment.