Sha256: c4a28726936e5800652c2f4e15897816bb9499e1b8397b84c722c083375fe014

Contents?: true

Size: 234 Bytes

Versions: 118

Compression:

Stored size: 234 Bytes

Contents

module Mocha

  class ChangeStateSideEffect
  
    def initialize(state)
      @state = state
    end
  
    def perform
      @state.activate
    end
  
    def mocha_inspect
      "then #{@state.mocha_inspect}"
    end
  
  end

end

Version data entries

118 entries across 113 versions & 13 rubygems

Version Path
thoughtbot-clearance-0.2.9 test/rails_root/vendor/gems/mocha-0.9.1/lib/mocha/change_state_side_effect.rb
thoughtbot-clearance-0.3.0 test/rails_root/vendor/gems/mocha-0.9.1/lib/mocha/change_state_side_effect.rb
thoughtbot-clearance-0.3.1 test/rails_root/vendor/gems/mocha-0.9.1/lib/mocha/change_state_side_effect.rb
thoughtbot-clearance-0.3.2 test/rails_root/vendor/gems/mocha-0.9.1/lib/mocha/change_state_side_effect.rb
thoughtbot-clearance-0.3.3 test/rails_root/vendor/gems/mocha-0.9.1/lib/mocha/change_state_side_effect.rb
thoughtbot-clearance-0.3.4 test/rails_root/vendor/gems/mocha-0.9.1/lib/mocha/change_state_side_effect.rb
challah-1.0.0.beta vendor/bundle/gems/mocha-0.10.5/lib/mocha/change_state_side_effect.rb
challah-0.9.1.beta.3 vendor/bundle/gems/mocha-0.10.5/lib/mocha/change_state_side_effect.rb
devise_sociable-0.1.0 vendor/bundle/gems/mocha-0.10.5/lib/mocha/change_state_side_effect.rb
challah-0.9.1.beta vendor/bundle/gems/mocha-0.10.5/lib/mocha/change_state_side_effect.rb
challah-0.9.0 vendor/bundle/gems/mocha-0.10.5/lib/mocha/change_state_side_effect.rb
challah-0.6.2 vendor/bundle/gems/mocha-0.10.5/lib/mocha/change_state_side_effect.rb
challah-0.6.1 vendor/bundle/gems/mocha-0.10.5/lib/mocha/change_state_side_effect.rb
challah-0.6.1 vendor/bundle/gems/mocha-0.10.3/lib/mocha/change_state_side_effect.rb
challah-0.6.0 vendor/bundle/gems/mocha-0.10.5/lib/mocha/change_state_side_effect.rb
challah-0.6.0 vendor/bundle/gems/mocha-0.10.3/lib/mocha/change_state_side_effect.rb
challah-0.5.4 vendor/bundle/gems/mocha-0.10.3/lib/mocha/change_state_side_effect.rb
challah-0.5.4 vendor/bundle/gems/mocha-0.10.5/lib/mocha/change_state_side_effect.rb
challah-0.5.3 vendor/bundle/gems/mocha-0.10.5/lib/mocha/change_state_side_effect.rb
challah-0.5.3 vendor/bundle/gems/mocha-0.10.3/lib/mocha/change_state_side_effect.rb