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
unpoly-rails-0.24.0 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
unpoly-rails-0.23.0 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
unpoly-rails-0.22.1 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
unpoly-rails-0.22.0 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
unpoly-rails-0.21.0 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
unpoly-rails-0.20.0 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
upjs-rails-0.19.0 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
upjs-rails-0.18.1 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
upjs-rails-0.18.0 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
upjs-rails-0.17.0 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
upjs-rails-0.16.0 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
upjs-rails-0.15.1 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
upjs-rails-0.15.0 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
upjs-rails-0.14.1 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
upjs-rails-0.14.0 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
upjs-rails-0.13.0 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
upjs-rails-0.12.5 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
upjs-rails-0.12.4 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
upjs-rails-0.12.3 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
hooch-0.4.2 jasmine/jasmine-fixture-1.3.1/spec-e2e/helpers/invariants.coffee