Sha256: 1c99f8c989784a55c6228b334363b1202465fbc3bf8cf1e4520027af1b769157

Contents?: true

Size: 392 Bytes

Versions: 23

Compression:

Stored size: 392 Bytes

Contents

require 'spec_helper'

module Naf
  describe NafBase do
    describe "with regard to configuration" do
      it "should inherit from the correct model_class" do
        NafBase.superclass.should == Naf.model_class
      end
      it "should have the correctly set full table name prefix" do
        NafBase.full_table_name_prefix.should == "#{::Naf.schema_name}."
      end
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
naf-2.1.13 spec/models/naf/naf_base_spec.rb
naf-2.1.12 spec/models/naf/naf_base_spec.rb
naf-2.1.11 spec/models/naf/naf_base_spec.rb
naf-2.1.10 spec/models/naf/naf_base_spec.rb
naf-2.1.9 spec/models/naf/naf_base_spec.rb
naf-2.1.8 spec/models/naf/naf_base_spec.rb
naf-2.1.6 spec/models/naf/naf_base_spec.rb
naf-2.1.5 spec/models/naf/naf_base_spec.rb
naf-2.1.4 spec/models/naf/naf_base_spec.rb
naf-2.1.3 spec/models/naf/naf_base_spec.rb
naf-2.1.2 spec/models/naf/naf_base_spec.rb
naf-2.1.1 spec/models/naf/naf_base_spec.rb
naf-2.1.0 spec/models/naf/naf_base_spec.rb
naf-2.0.4 spec/models/naf/naf_base_spec.rb
naf-2.0.3 spec/models/naf/naf_base_spec.rb
naf-2.0.2 spec/models/naf/naf_base_spec.rb
naf-2.0.1 spec/models/naf/naf_base_spec.rb
naf-2.0.0 spec/models/naf/naf_base_spec.rb
naf-1.1.4 spec/models/naf/naf_base_spec.rb
naf-1.1.3 spec/models/naf/naf_base_spec.rb