Sha256: 3f99e55124754e51625accc46c3285b3c51c7f0fa15b6467bc7028c6c684a2b6
Contents?: true
Size: 401 Bytes
Versions: 20
Compression:
Stored size: 401 Bytes
Contents
require 'spec_helper' describe Storey, "dealing with excluded_models" do before do Storey.excluded_models = %w(Company) end it "should always reference these models in the public schema" do Storey.create("foo") { Company.create :name => "company_1" } Company.create :name => "company_2" Company.count.should == 2 Storey.switch("foo") {Company.count.should == 2} end end
Version data entries
20 entries across 20 versions & 1 rubygems