Sha256: 2d8775736bc843bdc29518b7f939460de30f33f9edbe81cad1a9c10c46331b5a
Contents?: true
Size: 539 Bytes
Versions: 37
Compression:
Stored size: 539 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 = Basket.new basket.user = users(:user4) basket.should_not be_valid 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
37 entries across 37 versions & 1 rubygems