Sha256: a7e7945e4973cd1040263740ce3c2625b62fbce50d18d93b8b53cf49a79b8445

Contents?: true

Size: 346 Bytes

Versions: 1

Compression:

Stored size: 346 Bytes

Contents

require File.expand_path("#{File.dirname(__FILE__)}/../helper")

describe StateFu::State do
  include MySpecHelper

  it "should respond to deep_copy" do
    reset!
    make_pristine_class "Klass"
    @machine = Klass.machine do
      state :initial
    end
    @state = @machine.states.first
    @state.should respond_to(:deep_copy)
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
davidlee-state-fu-0.2.0 spec/integration/temp_spec.rb