Sha256: 0174836e23ad7af956ed10d54de4b16b63afa2cae9b78785d755b8b7b21dd0f7
Contents?: true
Size: 361 Bytes
Versions: 8
Compression:
Stored size: 361 Bytes
Contents
require 'spec_helper' describe ActiveRecord do it 'should load classes with non-default primary key' do lambda { YAML.load(Story.create.to_yaml) }.should_not raise_error end it 'should load classes even if not in default scope' do lambda { YAML.load(Story.create(:scoped => false).to_yaml) }.should_not raise_error end end
Version data entries
8 entries across 8 versions & 3 rubygems