Sha256: 18f9884dba12fd7d5173acf8000771308b0ff9e43f62687fce0019f4ca0b7053

Contents?: true

Size: 1 KB

Versions: 1

Compression:

Stored size: 1 KB

Contents

(function() {
  var specs = [];


  describe('root describe', function() {
    it('nested it', function() {
      specs.push('nested it');
    });
  });


  describe('root describe with iit', function() {
    it('it as iit sibling', function() {
      specs.push('it as iit sibling');
    });

    iit('nested iit', function() {
      specs.push('nested iit');
    });
  });


  describe('describe that follows iit with a nested it', function() {
    it('nested it after iit', function() {
      specs.push('nested it after iit');
    });
  });
  

  describe('describe with iit followed by it', function() {
    iit('iit that preceeds an it', function() {
      specs.push('iit that preceeds an it');
    });

    it('it that follows an iit', function() {
      specs.push('it that follows an iit');
    });
  });


  describe('test summary', function() {
    iit('should have executed all iit tests and nothing else', function() {
      expect(specs).toEqual(['nested iit', 'iit that preceeds an it']);
    });
  });
})();

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
js-test-driver-rails-0.3.0 vendor/jasmine-jstd-adapter/src-test/iit/iitSpec.js