Sha256: 092453bbc45af8fb05731b39dc40e2931aa2f715f0f1f331bcfba03c0b9870d8
Contents?: true
Size: 466 Bytes
Versions: 2
Compression:
Stored size: 466 Bytes
Contents
require 'spec_helper' describe Flms::EmbedLayer do include NamedFactories describe 'view_object' do it 'provides a view object' do expect(subject.view_object).to be_a Flms::EmbedLayerViewObject end end describe 'validation' do describe 'url' do it 'does not permit null url' do embed_layer_1a1.update_attribute(:embed_code, nil) expect(embed_layer_1a1).to have(1).error_on(:embed_code) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
flms-0.9.0 | spec/models/embed_layer_spec.rb |
flms-0.1.0 | spec/models/embed_layer_spec.rb |