Sha256: 05a4eeb879611ade6800a49ddc49109a84b4443099b80875710ba00f5b711d67

Contents?: true

Size: 244 Bytes

Versions: 1

Compression:

Stored size: 244 Bytes

Contents

describe DataMapper::Adapters::AbstractAdapter do
    
  before(:all) do
    fixtures(:zoos)
  end

  it "should return a count of the selected table" do
    Zoo.count.should be_a_kind_of(Integer)
    Zoo.count.should == Zoo.all.size
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
datamapper-0.2.0 spec/count_command_spec.rb