Sha256: f5168cca5a4fd7fa42ce0d9152dc9b90568793731647cc97d7f09cbed7c0cc92
Contents?: true
Size: 377 Bytes
Versions: 18
Compression:
Stored size: 377 Bytes
Contents
require 'spec_helper' describe "multiple transitions that differ only by guard" do let(:job) { MultipleTransitionsThatDifferOnlyByGuard.new } it 'does not follow the first transition if its guard fails' do expect{job.go}.not_to raise_error end it 'executes the second transition\'s callbacks' do job.go expect(job.executed_second).to be_truthy end end
Version data entries
18 entries across 18 versions & 1 rubygems