Skip to content

Commit

Permalink
Fix authenticator blueprint test
Browse files Browse the repository at this point in the history
  • Loading branch information
balinterdi committed Feb 13, 2017
1 parent 686028e commit f53446d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
12 changes: 10 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@
"base64": "~1.0.0",
"bootstrap": "~3.3.7",
"pretender": "~1.1.0",
"sinonjs": "~1.17.1"
"sinonjs": "~1.17.1",
"ember": "~1.12.0",
"ember-data": "~1.13.0",
"ember-cli-shims": "0.0.6"
},
"resolutions": {
"ember": "~1.12.0",
"ember-data": "~1.13.0",
"ember-cli-shims": "0.0.6"
}
}
}
3 changes: 2 additions & 1 deletion node-tests/blueprints/authenticator-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ describe('Acceptance: ember generate and destroy authenticator', function() {
it('generates a torii authenticator', function() {
return emberNew().then(() => generateAndDestroy(['authenticator', 'application', '--base-class=torii'], (file) => {
expect(file('app/authenticators/application.js')).to.contain('\
import Torii from \'ember-simple-auth/authenticators/torii\';' + EOL + '\
import Ember from \'ember\';' + EOL +
'import Torii from \'ember-simple-auth/authenticators/torii\';' + EOL + '\
' + EOL + '\
export default Torii.extend({' + EOL + '\
torii: Ember.inject.service(\'torii\')' + EOL + '\
Expand Down

0 comments on commit f53446d

Please sign in to comment.