Sha256: 4d37c97977fb1f8519884c84aaaeb6e4ce4da748c361393fd989eb016fcc3f7c
Contents?: true
Size: 549 Bytes
Versions: 23
Compression:
Stored size: 549 Bytes
Contents
require 'rails_helper' describe Accept do fixtures :all it "should change circulation_status" do accept = FactoryBot.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
23 entries across 23 versions & 2 rubygems