Sha256: e5de5db6740d7fc056af982c93e6872e517df4cb82034566dd789de497728bda

Contents?: true

Size: 350 Bytes

Versions: 8

Compression:

Stored size: 350 Bytes

Contents

require 'spec_helper'

describe Apartment do
  it "should be valid" do
    Apartment.should be_a(Module)
  end

  it "should be a valid app" do
    ::Rails.application.should be_a(Dummy::Application)
  end

  it "should deprecate Apartment::Database in favor of Apartment::Tenant" do
    expect(Apartment::Database).to eq(Apartment::Tenant)
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
apartment-1.0.2 spec/apartment_spec.rb
apartment-1.0.1 spec/apartment_spec.rb
apartment-1.0.0 spec/apartment_spec.rb
apartment-0.26.1 spec/apartment_spec.rb
apartment-0.26.0 spec/apartment_spec.rb
apartment-0.25.2 spec/apartment_spec.rb
apartment-0.25.1 spec/apartment_spec.rb
apartment-0.25.0 spec/apartment_spec.rb