Sha256: 07b94134f7e9de4c69bd552bda2bd6eacb9327fdd41abfda43479ffc03b988a8

Contents?: true

Size: 549 Bytes

Versions: 13

Compression:

Stored size: 549 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
#  updated_at   :datetime
#

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
enju_library-0.2.0.beta.8 spec/models/accept_spec.rb
enju_library-0.2.0.beta.7 spec/models/accept_spec.rb
enju_library-0.2.0.beta.6 spec/models/accept_spec.rb
enju_library-0.2.0.beta.5 spec/models/accept_spec.rb
enju_library-0.2.0.beta.4 spec/models/accept_spec.rb
enju_library-0.2.0.beta.3 spec/models/accept_spec.rb
enju_library-0.2.0.beta.2 spec/models/accept_spec.rb
enju_library-0.2.0.beta.1 spec/models/accept_spec.rb
enju_library-0.1.2 spec/models/accept_spec.rb
enju_library-0.1.1 spec/models/accept_spec.rb
enju_library-0.1.0 spec/models/accept_spec.rb
enju_library-0.1.0.pre45 spec/models/accept_spec.rb
enju_library-0.1.0.pre44 spec/models/accept_spec.rb