Sha256: cd981a1cb38ffe07eba4caf97192f8945f232900dc7b54748eecaab237ec04f6

Contents?: true

Size: 302 Bytes

Versions: 118

Compression:

Stored size: 302 Bytes

Contents

module Mocha

  class InStateOrderingConstraint
  
    def initialize(state_predicate)
      @state_predicate = state_predicate
    end
  
    def allows_invocation_now?
      @state_predicate.active?
    end
  
    def mocha_inspect
      "when #{@state_predicate.mocha_inspect}"
    end
  
  end

end

Version data entries

118 entries across 113 versions & 13 rubygems

Version Path
dradis-mediawiki-4.15.0 test/vendor/mocha-0.9.5/lib/mocha/in_state_ordering_constraint.rb
dradis-mediawiki-4.14.0 test/vendor/mocha-0.9.5/lib/mocha/in_state_ordering_constraint.rb
dradis-mediawiki-4.13.0 test/vendor/mocha-0.9.5/lib/mocha/in_state_ordering_constraint.rb
dradis-mediawiki-4.11.0 test/vendor/mocha-0.9.5/lib/mocha/in_state_ordering_constraint.rb
dradis-mediawiki-4.10.0 test/vendor/mocha-0.9.5/lib/mocha/in_state_ordering_constraint.rb
dradis-mediawiki-4.9.0 test/vendor/mocha-0.9.5/lib/mocha/in_state_ordering_constraint.rb
dradis-mediawiki-4.8.0 test/vendor/mocha-0.9.5/lib/mocha/in_state_ordering_constraint.rb
dradis-mediawiki-4.7.0 test/vendor/mocha-0.9.5/lib/mocha/in_state_ordering_constraint.rb
dradis-mediawiki-4.6.0 test/vendor/mocha-0.9.5/lib/mocha/in_state_ordering_constraint.rb
dradis-mediawiki-4.5.0 test/vendor/mocha-0.9.5/lib/mocha/in_state_ordering_constraint.rb
dradis-mediawiki-4.4.0 test/vendor/mocha-0.9.5/lib/mocha/in_state_ordering_constraint.rb
dradis-mediawiki-4.3.0 test/vendor/mocha-0.9.5/lib/mocha/in_state_ordering_constraint.rb
dradis-mediawiki-4.2.0 test/vendor/mocha-0.9.5/lib/mocha/in_state_ordering_constraint.rb
dradis-mediawiki-4.1.0 test/vendor/mocha-0.9.5/lib/mocha/in_state_ordering_constraint.rb
dradis-mediawiki-4.0.0 test/vendor/mocha-0.9.5/lib/mocha/in_state_ordering_constraint.rb
dradis-mediawiki-3.22.0 test/vendor/mocha-0.9.5/lib/mocha/in_state_ordering_constraint.rb
dradis-mediawiki-3.21.0 test/vendor/mocha-0.9.5/lib/mocha/in_state_ordering_constraint.rb
dradis-mediawiki-3.20.0 test/vendor/mocha-0.9.5/lib/mocha/in_state_ordering_constraint.rb
dradis-mediawiki-3.19.0 test/vendor/mocha-0.9.5/lib/mocha/in_state_ordering_constraint.rb
dradis-mediawiki-3.18.0 test/vendor/mocha-0.9.5/lib/mocha/in_state_ordering_constraint.rb