-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ref: Indentation, pass authManager and eventId in test, make webAppGe…
…nerator env variable flat instead of nested, replace noopener with noreferrer in rel, update local docs for changes in env variables, remove webAppGenerator from env.example as it is not a major integration
- Loading branch information
1 parent
001ed94
commit 4d6886b
Showing
6 changed files
with
13 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
GOOGLE_API_KEY="Sample Key" | ||
API_HOST=https://open-event-api-dev.herokuapp.com | ||
MAP_DISPLAY=embed | ||
FASTBOOT_DISABLED=true | ||
WEB_APP_GENERATOR_HOST=https://open-event-wsgen-dev.herokuapp.com | ||
FASTBOOT_DISABLED=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,12 +2,17 @@ import { hbs } from 'ember-cli-htmlbars'; | |
import { module, test } from 'qunit'; | ||
import { setupIntegrationTest } from 'open-event-frontend/tests/helpers/setup-integration-test'; | ||
import { render } from '@ember/test-helpers'; | ||
import EmberObject from '@ember/object'; | ||
|
||
module('Integration | Component | events/view/overview/event apps', function(hooks) { | ||
setupIntegrationTest(hooks); | ||
|
||
const currentUser = EmberObject.create({ email: '[email protected]' }); | ||
const authManager = EmberObject.create({ currentUser }); | ||
test('it renders', async function(assert) { | ||
await render(hbs`{{events/view/overview/event-apps}}`); | ||
this.set('authManager', authManager); | ||
this.set('eventId', 'e123'); | ||
await render(hbs`{{events/view/overview/event-apps authManager=authManager eventId=eventId}}`); | ||
assert.ok(this.element.innerHTML.trim().includes('Apps')); | ||
}); | ||
}); |