Sha256: 683177adff0eab2ed73d8f9bb2fa80e6cebbd92d7d42961528eb806602f2de26

Contents?: true

Size: 320 Bytes

Versions: 152

Compression:

Stored size: 320 Bytes

Contents

beforeEach(function () {
  jasmine.addMatchers({
    toBePlaying: function () {
      return {
        compare: function (actual, expected) {
          var player = actual;

          return {
            pass: player.currentlyPlayingSong === expected && player.isPlaying
          };
        }
      };
    }
  });
});

Version data entries

152 entries across 97 versions & 4 rubygems

Version Path
tdiary-5.2.4 vendor/bundle/ruby/3.1.0/gems/jasmine-core-2.99.2/lib/jasmine-core/example/spec/SpecHelper.js
tdiary-5.2.4 vendor/bundle/ruby/3.1.0/gems/jasmine-2.99.0/lib/generators/jasmine/examples/templates/spec/javascripts/helpers/jasmine_examples/SpecHelper.js
tdiary-5.2.3 vendor/bundle/ruby/3.1.0/gems/jasmine-2.99.0/lib/generators/jasmine/examples/templates/spec/javascripts/helpers/jasmine_examples/SpecHelper.js
tdiary-5.2.3 vendor/bundle/ruby/3.1.0/gems/jasmine-core-2.99.2/lib/jasmine-core/example/spec/SpecHelper.js
tdiary-5.2.2 vendor/bundle/ruby/3.1.0/gems/jasmine-core-2.99.2/lib/jasmine-core/example/spec/SpecHelper.js
tdiary-5.2.2 vendor/bundle/ruby/3.1.0/gems/jasmine-2.99.0/lib/generators/jasmine/examples/templates/spec/javascripts/helpers/jasmine_examples/SpecHelper.js
tdiary-5.2.1 vendor/bundle/ruby/3.1.0/gems/jasmine-2.99.0/lib/generators/jasmine/examples/templates/spec/javascripts/helpers/jasmine_examples/SpecHelper.js
tdiary-5.2.1 vendor/bundle/ruby/3.1.0/gems/jasmine-core-2.99.2/lib/jasmine-core/example/spec/SpecHelper.js
jasmine-3.99.0 lib/generators/jasmine/examples/templates/spec/javascripts/helpers/jasmine_examples/SpecHelper.js
jasmine-core-3.99.0 ./lib/jasmine-core/example/spec/SpecHelper.js
tdiary-5.2.0 vendor/bundle/ruby/3.0.0/gems/jasmine-2.99.0/lib/generators/jasmine/examples/templates/spec/javascripts/helpers/jasmine_examples/SpecHelper.js
tdiary-5.2.0 vendor/bundle/ruby/2.7.0/gems/jasmine-2.99.0/lib/generators/jasmine/examples/templates/spec/javascripts/helpers/jasmine_examples/SpecHelper.js
tdiary-5.2.0 vendor/bundle/ruby/3.0.0/gems/jasmine-core-2.99.2/lib/jasmine-core/example/spec/SpecHelper.js
tdiary-5.2.0 vendor/bundle/ruby/2.7.0/gems/jasmine-core-2.99.2/lib/jasmine-core/example/spec/SpecHelper.js
jasmine-core-3.10.1 ./lib/jasmine-core/example/spec/SpecHelper.js
jasmine-3.10.0 lib/generators/jasmine/examples/templates/spec/javascripts/helpers/jasmine_examples/SpecHelper.js
jasmine-core-3.10.0 ./lib/jasmine-core/example/spec/SpecHelper.js
tdiary-5.1.7 vendor/bundle/ruby/3.0.0/gems/jasmine-core-2.99.2/lib/jasmine-core/example/spec/SpecHelper.js
tdiary-5.1.7 vendor/bundle/ruby/3.0.0/gems/jasmine-2.99.0/lib/generators/jasmine/examples/templates/spec/javascripts/helpers/jasmine_examples/SpecHelper.js
tdiary-5.1.7 vendor/bundle/ruby/2.7.0/gems/jasmine-2.99.0/lib/generators/jasmine/examples/templates/spec/javascripts/helpers/jasmine_examples/SpecHelper.js