Sha256: d9117b00cc2a51e01e658f9fe14ae415c8c534131c35c285ca21b1f41cc55fce

Contents?: true

Size: 584 Bytes

Versions: 11

Compression:

Stored size: 584 Bytes

Contents

require 'spec_helper'

describe Accept do
  fixtures :all

  it "should change circulation_status" do
    accept = FactoryGirl.create(:accept)
    accept.item.circulation_status.name.should eq 'Available On Shelf'
    accept.item.use_restriction.name.should eq 'Limited Circulation, Normal Loan Period'
  end
end

# == Schema Information
#
# Table name: accepts
#
#  id           :integer          not null, primary key
#  basket_id    :integer
#  item_id      :integer
#  librarian_id :integer
#  created_at   :datetime         not null
#  updated_at   :datetime         not null
#

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
enju_library-0.1.0.pre43 spec/models/accept_spec.rb
enju_library-0.1.0.pre42 spec/models/accept_spec.rb
enju_library-0.1.0.pre41 spec/models/accept_spec.rb
enju_library-0.1.0.pre40 spec/models/accept_spec.rb
enju_library-0.1.0.pre39 spec/models/accept_spec.rb
enju_library-0.1.0.pre38 spec/models/accept_spec.rb
enju_library-0.1.0.pre37 spec/models/accept_spec.rb
enju_library-0.1.0.pre36 spec/models/accept_spec.rb
enju_library-0.1.0.pre35 spec/models/accept_spec.rb
enju_library-0.1.0.pre34 spec/models/accept_spec.rb
enju_library-0.1.0.pre33 spec/models/accept_spec.rb