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-1.1.2 spec/models/naf/naf_base_spec.rb
naf-1.1.1 spec/models/naf/naf_base_spec.rb
naf-1.1.0 spec/models/naf/naf_base_spec.rb