Sha256: c3148a4b3b2eb6ac2ab320ea95a4574b35ecf7990c09ed9b82d1c82c691b6ee5

Contents?: true

Size: 274 Bytes

Versions: 2

Compression:

Stored size: 274 Bytes

Contents

require 'spec_helper'

describe Page, "extended with templates" do
  it "should be associated to its template" do
    Page.included_modules.should include(Templates::Associations)
    Page.new.should respond_to(:template)
    Page.new.should respond_to(:template=)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
radiant-templates-extension-1.0.8 spec/models/page_extensions_spec.rb
radiant-templates-extension-1.0.7 spec/models/page_extensions_spec.rb