Sha256: 495662896dd21aef36263c0a688a0412d3f51147bc5f08e07f49fcc17f0bec80

Contents?: true

Size: 675 Bytes

Versions: 11

Compression:

Stored size: 675 Bytes

Contents

require 'rails_helper'

describe Shelf do
  fixtures :all

  it "should respond to web_shelf" do
    shelves(:shelf_00001).web_shelf?.should be_truthy
    shelves(:shelf_00002).web_shelf?.should_not be_truthy
  end
end

# == Schema Information
#
# Table name: shelves
#
#  id           :integer          not null, primary key
#  name         :string           not null
#  display_name :text
#  note         :text
#  library_id   :integer          not null
#  items_count  :integer          default(0), not null
#  position     :integer
#  created_at   :datetime
#  updated_at   :datetime
#  deleted_at   :datetime
#  closed       :boolean          default(FALSE), not null
#

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
enju_library-0.3.11 spec/models/shelf_spec.rb
enju_library-0.3.10 spec/models/shelf_spec.rb
enju_library-0.3.9 spec/models/shelf_spec.rb
enju_library-0.3.8 spec/models/shelf_spec.rb
enju_library-0.3.8.rc.2 spec/models/shelf_spec.rb
enju_library-0.3.8.rc.1 spec/models/shelf_spec.rb
enju_library-0.3.7 spec/models/shelf_spec.rb
enju_library-0.3.6 spec/models/shelf_spec.rb
enju_library-0.3.5 spec/models/shelf_spec.rb
enju_library-0.3.4 spec/models/shelf_spec.rb
enju_library-0.3.3 spec/models/shelf_spec.rb