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.32.0 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
unpoly-rails-0.31.2 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
unpoly-rails-0.31.1 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
unpoly-rails-0.31.0 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
unpoly-rails-0.30.1 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
unpoly-rails-0.30.0 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
unpoly-rails-0.29.0 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
unpoly-rails-0.28.1 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
unpoly-rails-0.28.0 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
unpoly-rails-0.27.3 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
unpoly-rails-0.27.2 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
unpoly-rails-0.27.1 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
unpoly-rails-0.27.0 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
unpoly-rails-0.26.2 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
unpoly-rails-0.26.1 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
unpoly-rails-0.26.0 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
unpoly-rails-0.25.2 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
unpoly-rails-0.25.1 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
unpoly-rails-0.25.0 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee
unpoly-rails-0.24.1 spec_app/vendor/assets/bower_components/jasmine-fixture/spec-e2e/helpers/invariants.coffee