Sha256: 9de6df67f1ec606d6841f8bbc4fc6f86297a32977d508bd362bec907aae8c3a0

Contents?: true

Size: 388 Bytes

Versions: 92

Compression:

Stored size: 388 Bytes

Contents

root = global

root.invariants =
  passingSpec: ->
    Invariant -> @result.code == 0
    Invariant -> @result.stderr == ""
    Invariant -> expect(@result.stdout).toContain """
      # fail  0

      # ok
    """

  failingSpecs: (numberOfFailures = 1) ->
    Invariant -> @result.code != 0
    Invariant -> expect(@result.stdout).toContain """
      # fail  #{numberOfFailures}
    """

Version data entries

92 entries across 92 versions & 3 rubygems

Version Path
hooch-0.1.0 jasmine/jasmine-fixture-1.3.1/spec-e2e/helpers/invariants.coffee
hooch-0.0.8 jasmine/jasmine-fixture-1.3.1/spec-e2e/helpers/invariants.coffee
hooch-0.0.7 jasmine/jasmine-fixture-1.3.1/spec-e2e/helpers/invariants.coffee
hooch-0.0.6 jasmine/jasmine-fixture-1.3.1/spec-e2e/helpers/invariants.coffee
upjs-rails-0.4.1 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
upjs-rails-0.4.0 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
upjs-rails-0.3.3 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
upjs-rails-0.3.2 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
upjs-rails-0.3.0 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
upjs-rails-0.2.2 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
upjs-rails-0.2.1 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
upjs-rails-0.2.0 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee