Sha256: e9f12038d5488c1c1cb4cfd7d03ba3b028e23be5f81ebe079fdb3518af517527

Contents?: true

Size: 203 Bytes

Versions: 1

Compression:

Stored size: 203 Bytes

Contents

describe('A query') do
  
  it 'should return a simple Array of primitives' do
    database.query("SELECT name FROM zoos").all? do |entry|
      entry.kind_of?(String)
    end.should == true
  end
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
datamapper-0.2.0 spec/query_spec.rb