Sha256: d109f689db0863a9df4dd6c6b2bd4cea0b90b9570cf3777990f482b64c3edbf2

Contents?: true

Size: 332 Bytes

Versions: 7

Compression:

Stored size: 332 Bytes

Contents

require 'spec_helper'
describe ConnectionManager::Core do
  describe 'Arel::Table.name' do
    it "should update as model's table_name update " do
      expect(FruitCore.arel_table.name).to eql('fruits')
      FruitCore.table_name = 'cm_test.fruits'
     expect(FruitCore.arel_table.name).to eql('cm_test.fruits')
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
connection_manager-2.0.0 spec/lib/core_spec.rb
connection_manager-1.1.5 spec/lib/core_spec.rb
connection_manager-1.1.4 spec/lib/core_spec.rb
connection_manager-1.1.3 spec/lib/core_spec.rb
connection_manager-1.1.2 spec/lib/core_spec.rb
connection_manager-1.1.1 spec/lib/core_spec.rb
connection_manager-1.1.0 spec/lib/core_spec.rb