Sha256: 833e912d50f17208b1fb884faa6de26c5f58c04da4f9936e5e57d061c747f709
Contents?: true
Size: 511 Bytes
Versions: 30
Compression:
Stored size: 511 Bytes
Contents
# -*- encoding: utf-8 -*- require 'spec_helper' describe Basket do fixtures :all it "should not create basket when user is not active" do Basket.create(:user => users(:user4)).id.should be_nil end end # == Schema Information # # Table name: baskets # # id :integer not null, primary key # user_id :integer # note :text # lock_version :integer default(0), not null # created_at :datetime not null # updated_at :datetime not null #
Version data entries
30 entries across 30 versions & 1 rubygems