Sha256: cda1baf9aa301534737dedfcd4bb6afe19b644520c6d9b43ef0300d392248598
Contents?: true
Size: 252 Bytes
Versions: 5
Compression:
Stored size: 252 Bytes
Contents
require File.dirname(__FILE__) + "/spec_helper" 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
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
datamapper-0.2.1 | spec/query_spec.rb |
datamapper-0.2.2 | spec/query_spec.rb |
datamapper-0.2.3 | spec/query_spec.rb |
datamapper-0.2.4 | spec/query_spec.rb |
datamapper-0.2.5 | spec/query_spec.rb |