Sha256: 5ac4a38de55688044609595a82baa08a011335636a8aa173e326db497ee00aa3
Contents?: true
Size: 513 Bytes
Versions: 16
Compression:
Stored size: 513 Bytes
Contents
require 'spec_helper' module Landable describe TableName do describe '#table_name' do it 'should generate the correct table name' do Page.send(:table_name).should == "#{Landable.configuration.database_schema_prefix}landable.pages" PageRevision.send(:table_name).should == "#{Landable.configuration.database_schema_prefix}landable.page_revisions" Theme.send(:table_name).should == "#{Landable.configuration.database_schema_prefix}landable.themes" end end end end
Version data entries
16 entries across 16 versions & 1 rubygems