Sha256: d10330ab3882be3a43f2718372b0910ca15e6a8ae1f0b9554d94179d66c9ea34

Contents?: true

Size: 356 Bytes

Versions: 5

Compression:

Stored size: 356 Bytes

Contents

require 'spec_helper'

describe ActiveRecord::Turntable::Base do
  before(:all) do
    reload_turntable!(File.join(File.dirname(__FILE__), "../../config/turntable.yml"))
  end

  context "When installed to ActiveRecord::Base" do
    it "ActiveRecord::Base respond_to 'turntable'" do
      ActiveRecord::Base.should respond_to(:turntable)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
activerecord-turntable-1.1.2 spec/active_record/turntable/base_spec.rb
activerecord-turntable-1.1.1 spec/active_record/turntable/base_spec.rb
activerecord-turntable-1.1.0 spec/active_record/turntable/base_spec.rb
activerecord-turntable-1.0.1 spec/active_record/turntable/base_spec.rb
activerecord-turntable-1.0.0 spec/active_record/turntable/base_spec.rb