Sha256: 4ea5eb323039d6f9bcaab953b7283bb1bd51a09710abdd351400c11b75b5338a

Contents?: true

Size: 503 Bytes

Versions: 1

Compression:

Stored size: 503 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/spec_helper')

describe "Rack::TicketOffice::TicketCollection" do
  context "(persistence)" do
    it "should include the HashPersistent::Collection module" do
      Rack::TicketOffice::TicketCollection.included_modules.should include(HashPersistent::Collection)
    end
    
    # TODO: we ought to be able to specify more behaviour here. For instance, this class is designed to attach to
    # the Ticket resource, using :user as a basis.
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
kissifer-rack-ticket-office-0.0.1 spec/ticket_collection_spec.rb