Sha256: 4fd389e6a67e5303ff8b9dfade48c054557fe21f8ddc35183f35c83aecfa10e3
Contents?: true
Size: 452 Bytes
Versions: 2
Compression:
Stored size: 452 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 eq "#{Landable.configuration.database_schema_prefix}landable_traffic.visits" PageView.send(:table_name).should eq "#{Landable.configuration.database_schema_prefix}landable_traffic.page_views" end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
landable-1.14.0 | spec/concerns/landable/traffic/table_name_spec.rb |
landable-1.13.2 | spec/concerns/landable/traffic/table_name_spec.rb |