Sha256: 938353a6050e034d3a172cbba52cda204ceae2066b70388f6ca2f6638b3db426

Contents?: true

Size: 650 Bytes

Versions: 7

Compression:

Stored size: 650 Bytes

Contents

jasmine.include(jazrb_root + "/spec/example/spec_helper.js");

(function($){

  describe("hello_world",function(){
    
    describe("contents",function(){

      var loops = 500000;

      for(var i = 0; i < 10; i++ ) {

        it("should contain the text 'Hello, World'",function(){
          expect($("div:contains('Hello, World')").size()).toBeGreaterThan(0);
          for(var j = 0; j<loops; j++);
        });

        it("should contain the text 'Hello, World'",function(){
          expect($("div:contains('Hello, World')").size()).toBeGreaterThan(0);
          for(var j = 0; j<loops; j++);
        });

      }

    });

  });

})(jQuery);

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
jazrb-0.1.1 spec/example/hello_world_spec.js
jazrb-0.1.0 spec/example/hello_world_spec.js
smparkes-jazrb-0.0.12 spec/example/hello_world_spec.js
smparkes-jazrb-0.0.11 spec/example/hello_world_spec.js
smparkes-jazrb-0.0.10 spec/example/hello_world_spec.js
smparkes-jazrb-0.0.9 spec/example/hello_world_spec.js
smparkes-jazrb-0.0.8 spec/example/hello_world_spec.js