Sha256: e464c1d6cebd7da55f66a508d64cf0238ca1f1c1dc71140d8b33c947644e7060
Contents?: true
Size: 337 Bytes
Versions: 3
Compression:
Stored size: 337 Bytes
Contents
require 'spec_helper' RSpec.describe Enumable, :type => :model do let(:enumable) { Enumable.new(status: :active) } describe '#draft' do describe '#reify' do before { enumable.draft_creation } it 'does not raise an exception' do expect { enumable.draft.reify }.to_not raise_error end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
draftsman-0.5.1 | spec/models/enumable_spec.rb |
draftsman-0.5.0 | spec/models/enumable_spec.rb |
draftsman-0.4.0 | spec/models/enumable_spec.rb |