mirror of
https://github.com/aasm/aasm
synced 2023-03-27 23:22:41 -04:00
10 lines
220 B
Ruby
10 lines
220 B
Ruby
|
require 'spec_helper'
|
||
|
|
||
|
describe "nil as first argument" do
|
||
|
let(:guard) { GuardArgumentsCheck.new }
|
||
|
|
||
|
it 'does not raise errors' do
|
||
|
expect { guard.mark_as_reviewed(nil, 'second arg') }.not_to raise_error
|
||
|
end
|
||
|
end
|