Sha256: b69394d82eb081c6d59e1dca7fb74eed3f12084ca65a41bd005335f99b0643da
Contents?: true
Size: 458 Bytes
Versions: 5
Compression:
Stored size: 458 Bytes
Contents
require 'spec_helper' module Kms describe Kms::Template, type: :model do it "should be registered via ResourceService" do expect(Kms::ResourceService.resources[:content_management][Kms::Template]).to_not be_nil end it "should be registered as Liquor template" do template = FactoryGirl.create(:template) expect(Kms.template_manager.instance_variable_get("@templates")[template.register_id]).to_not be nil end end end
Version data entries
5 entries across 5 versions & 1 rubygems