Sha256: b77defed2eaedc82c8c82f65e4be9dea3ceb10f2d4f993129b5de569c25389c2

Contents?: true

Size: 1.2 KB

Versions: 1

Compression:

Stored size: 1.2 KB

Contents

require 'rails_helper'

describe UserGroupHasCheckoutType do
  fixtures :all

  it "should respond to update_current_checkout_count" do
    UserGroupHasCheckoutType.update_current_checkout_count.should be_truthy
  end
end

# == Schema Information
#
# Table name: user_group_has_checkout_types
#
#  id                             :bigint           not null, primary key
#  user_group_id                  :bigint           not null
#  checkout_type_id               :bigint           not null
#  checkout_limit                 :integer          default(0), not null
#  checkout_period                :integer          default(0), not null
#  checkout_renewal_limit         :integer          default(0), not null
#  reservation_limit              :integer          default(0), not null
#  reservation_expired_period     :integer          default(7), not null
#  set_due_date_after_closing_day :boolean          default(FALSE), not null
#  fixed_due_date                 :datetime
#  note                           :text
#  position                       :integer
#  created_at                     :datetime         not null
#  updated_at                     :datetime         not null
#  current_checkout_count         :integer
#

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
enju_circulation-0.4.0.rc.1 spec/models/user_group_has_checkout_type_spec.rb