Sha256: a8ae8c88ffb8d39fd4caa1f934dbc2ebc8a0e2c9937e009bf405b697eb3c3226
Contents?: true
Size: 659 Bytes
Versions: 3
Compression:
Stored size: 659 Bytes
Contents
require 'spec_helper' describe ChosenTemplate do it 'should allow the chooser to preview', integration: true do end it 'should allow the chooser to publish', integration: true do end describe '.choosable_template' do context 'when the model does not have the template_previewed_at field' do it 'should raise an exception' do expect { Page.choosable_template }.to raise_error(ArgumentError) end end context 'when the model does not have the template_published_at field' do it 'should raise an exception' do expect { Page.choosable_template }.to raise_error(ArgumentError) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
chosen_template-1.0.0 | spec/chosen_template_spec.rb |
chosen_template-0.1.0 | spec/chosen_template_spec.rb |
chosen_template-0.0.1 | spec/chosen_template_spec.rb |