Sha256: a41f3b0ef3e07cdfed0f92932cd185f2f1de128a074710704f0256f4bb958409

Contents?: true

Size: 341 Bytes

Versions: 7

Compression:

Stored size: 341 Bytes

Contents

# frozen_string_literal: true

class UsingFSM
  include SimplyFSM
end

RSpec.describe SimplyFSM do
  it "has a version number" do
    expect(SimplyFSM::VERSION).not_to be nil
  end

  describe "when included" do
    it "sets up state machine constructor" do
      expect(UsingFSM.respond_to?(:state_machine)).not_to be nil
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
simply_fsm-0.3.0 spec/unit/simply_fsm_spec.rb
simply_fsm-0.2.3 spec/unit/simply_fsm_spec.rb
simply_fsm-0.2.1 spec/unit/simply_fsm_spec.rb
simply_fsm-0.2.0 spec/unit/simply_fsm_spec.rb
simply_fsm-0.1.2 spec/unit/simply_fsm_spec.rb
simply_fsm-0.1.1 spec/unit/simply_fsm_spec.rb
simply_fsm-0.1.0 spec/unit/simply_fsm_spec.rb