Sha256: 5713cb2ffbe275efe8f607b65125ffdfc8737e21f819663a7a611aacad91e7bb
Contents?: true
Size: 454 Bytes
Versions: 16
Compression:
Stored size: 454 Bytes
Contents
require 'spec_helper' module Landable module Traffic describe TableName do describe '#table_name' do it 'should generate the correct table name' do Visit.send(:table_name).should == "#{Landable.configuration.database_schema_prefix}landable_traffic.visits" PageView.send(:table_name).should == "#{Landable.configuration.database_schema_prefix}landable_traffic.page_views" end end end end end
Version data entries
16 entries across 16 versions & 1 rubygems