Sha256: 73996d5b64b07a7f061a02816751efaa87169f6d1882a004bed237dedccfd18f

Contents?: true

Size: 869 Bytes

Versions: 1

Compression:

Stored size: 869 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                        :bigint           not null, primary key
#  name                      :string           not null
#  display_name              :text
#  note                      :text
#  library_id                :bigint           not null
#  items_count               :integer          default(0), not null
#  position                  :integer
#  created_at                :datetime         not null
#  updated_at                :datetime         not null
#  closed                    :boolean          default(FALSE), not null
#  display_name_translations :jsonb            not null
#

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
enju_library-0.4.0.rc.1 spec/models/shelf_spec.rb