Sha256: 60035c4b3e5440aa1b2c4391823345813a83d54bdd148ccabb64259e085dd3d7

Contents?: true

Size: 712 Bytes

Versions: 13

Compression:

Stored size: 712 Bytes

Contents

# -*- encoding: utf-8 -*-
require 'spec_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          default(1), 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

13 entries across 13 versions & 1 rubygems

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