require 'spec_helper'

describe ActiveRecord::MTI do

  context 'helper' do

    describe '#testify' do
      it "returns true for truthy values" do
        expect(ActiveRecord::MTI.testify('f')).to eq(false)
      end
    end

  end

end

require 'spec_helper'

describe ActiveRecord::MTI do

  context 'helper' do

    describe '#testify' do
      it "returns true for truthy values" do
        expect(ActiveRecord::MTI.testify('f')).to eq(false)
      end
    end

    it "root has the right value" do
      expect(ActiveRecord::MTI.root).not_to be_nil
    end

  end

end

Add coverage for AR::MTI.root helper
Add coverage for AR::MTI.root helper
