Sha256: b853146de60a986a8fbe16685fcd107b082c74f735cd589474b3de78fab24794
Contents?: true
Size: 1.08 KB
Versions: 1
Compression:
Stored size: 1.08 KB
Contents
require 'rails_helper' describe UserGroup do fixtures :user_groups it "should contain string in its display_name" do user_group = user_groups(:user_group_00001) user_group.display_name = "en:test" user_group.valid?.should be_truthy end end # == Schema Information # # Table name: user_groups # # id :bigint not null, primary key # name :string # display_name :text # note :text # position :integer # created_at :datetime not null # updated_at :datetime not null # valid_period_for_new_user :integer default(0), not null # expired_at :datetime # number_of_day_to_notify_overdue :integer default(7), not null # number_of_day_to_notify_due_date :integer default(3), not null # number_of_time_to_notify_overdue :integer default(3), not null # display_name_translations :jsonb not null #
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
enju_library-0.4.0.rc.1 | spec/models/user_group_spec.rb |