Created
January 10, 2017 13:46
-
-
Save danielhusar/e2992565f65f40c57802af96a8094fb7 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