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
upjs-rails-0.7.7 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
upjs-rails-0.7.6 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
upjs-rails-0.7.5 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
upjs-rails-0.7.4 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
upjs-rails-0.7.3 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
upjs-rails-0.7.2 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
upjs-rails-0.7.1 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
upjs-rails-0.7.0 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
upjs-rails-0.6.5 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
upjs-rails-0.6.4 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
upjs-rails-0.6.3 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
upjs-rails-0.6.2 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
upjs-rails-0.6.1 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
upjs-rails-0.6.0 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
upjs-rails-0.5.0 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
upjs-rails-0.4.4 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
upjs-rails-0.4.3 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
upjs-rails-0.4.2 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
hooch-0.2.1 jasmine/jasmine-fixture-1.3.1/spec-e2e/helpers/invariants.coffee
hooch-0.2.0 jasmine/jasmine-fixture-1.3.1/spec-e2e/helpers/invariants.coffee