Sha256: 90e1537612757bd78b07efd49cc800458b596a9da683f2463e115e39580295c3

Contents?: true

Size: 491 Bytes

Versions: 33

Compression:

Stored size: 491 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'
  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

33 entries across 33 versions & 2 rubygems

Version Path
enju_biblio-0.1.0.pre10 spec/models/accept_spec.rb
enju_biblio-0.1.0.pre9 spec/models/accept_spec.rb
enju_biblio-0.1.0.pre8 spec/models/accept_spec.rb
enju_biblio-0.1.0.pre7 spec/models/accept_spec.rb
enju_biblio-0.1.0.pre6 spec/models/accept_spec.rb
enju_biblio-0.1.0.pre5 spec/models/accept_spec.rb
enju_biblio-0.1.0.pre4 spec/models/accept_spec.rb
enju_biblio-0.1.0.pre3 spec/models/accept_spec.rb
enju_biblio-0.1.0.pre2 spec/models/accept_spec.rb
enju_biblio-0.1.0.pre spec/models/accept_spec.rb
enju_circulation-0.0.71 spec/models/accept_spec.rb
enju_circulation-0.0.70 spec/models/accept_spec.rb
enju_circulation-0.0.69 spec/models/accept_spec.rb
enju_circulation-0.0.68 spec/models/accept_spec.rb
enju_circulation-0.0.67 spec/models/accept_spec.rb
enju_circulation-0.0.66 spec/models/accept_spec.rb
enju_circulation-0.0.65 spec/models/accept_spec.rb
enju_circulation-0.0.64 spec/models/accept_spec.rb
enju_circulation-0.0.63 spec/models/accept_spec.rb
enju_circulation-0.0.62 spec/models/accept_spec.rb