Sha256: b4554631036f205fbfab2790df260fdb19e6732aa140548621872c372792f259
Contents?: true
Size: 308 Bytes
Versions: 8
Compression:
Stored size: 308 Bytes
Contents
require 'spec_helper' describe "event naming" do let(:state_machine) { StateMachineWithFailedEvent.new } it "allows an event of failed without blowing the stack aka stack level too deep" do state_machine.failed expect { state_machine.failed }.to raise_error(AASM::InvalidTransition) end end
Version data entries
8 entries across 8 versions & 1 rubygems