Sha256: 4b1c64a96a22d26c9e75d2078d4731312c3882960aee051c98774223fa2a3233
Contents?: true
Size: 780 Bytes
Versions: 1
Compression:
Stored size: 780 Bytes
Contents
# -*- encoding: utf-8 -*- require 'spec_helper' describe ManifestationCheckoutStat do fixtures :manifestation_checkout_stats it "calculates manifestation count" do manifestation_checkout_stats(:one).transition_to!(:started).should be_truthy end it "should calculate in background" do ManifestationCheckoutStatQueue.perform(manifestation_checkout_stats(:one).id).should be_truthy end end # == Schema Information # # Table name: manifestation_checkout_stats # # id :integer not null, primary key # start_date :datetime # end_date :datetime # note :text # state :string(255) # created_at :datetime not null # updated_at :datetime not null # started_at :datetime # completed_at :datetime #
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
enju_circulation-0.1.0.pre36 | spec/models/manifestation_checkout_stat_spec.rb |