Sha256: 30fe526196cd10c7474d1dda6abf6a97535d27d3b8c8d1e09392d1751cf38633

Contents?: true

Size: 303 Bytes

Versions: 7

Compression:

Stored size: 303 Bytes

Contents

require File.dirname(__FILE__) + '/../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

7 entries across 7 versions & 1 rubygems

Version Path
radiant-templates-extension-1.0.6 spec/models/page_extensions_spec.rb
radiant-templates-extension-1.0.5 spec/models/page_extensions_spec.rb
radiant-templates-extension-1.0.4 spec/models/page_extensions_spec.rb
radiant-templates-extension-1.0.3 spec/models/page_extensions_spec.rb
radiant-templates-extension-1.0.2 spec/models/page_extensions_spec.rb
radiant-templates-extension-1.0.1 spec/models/page_extensions_spec.rb
radiant-templates-extension-1.0.0 spec/models/page_extensions_spec.rb