Advertisement
Guest User

Untitled

a guest
Aug 21st, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. beforeEach(function() {
  2. controller = this.subject();
  3. });
  4.  
  5. it('sets selectedImage to null', function() {
  6. expect(controller.get('selectedImage')).to.eql(null);
  7. });
  8.  
  9. describe('setCoverageTest', function() {
  10. it('sets selectedImage to true', function() {
  11. expect(controller.get('selectedImage')).to.eql(null);
  12. controller.setCoverageTest();
  13. expect(controller.get('selectedImage')).to.be.true;
  14. });
  15. });
  16.  
  17. module.exports = {
  18. excludes: ['*/templates/**/*'],
  19. useBabelInstrumenter: true
  20. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement