Created
January 10, 2017 13:46
-
-
Save danielhusar/e54c9463630bd1de000b95c377f785b1 to your computer and use it in GitHub Desktop.
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
const test1 = {test: true}; | |
let component; | |
componentIntegrationTest('', '', { | |
beforeEach() { | |
this.render(hbs`{{change-item-component test1=test1 test2="test2" }}`); | |
component = getComponentInstance(this); | |
} | |
}); | |
test('puts read more button when there is image', function(assert) { | |
assert.expect(1); | |
console.log(component.get('test1')); // undefined | |
console.log(component.get('test2')); // test2 | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment