spec/query_spec.rb in rasti-db-0.2.9 vs spec/query_spec.rb in rasti-db-0.3.0

- old
+ new

@@ -35,10 +35,10 @@ it 'Primary keys' do users_query.primary_keys.must_equal db[:users].map { |u| u[:id] } end it 'Map' do - users_query.map { |u| u.name }.must_equal db[:users].map(:name) + users_query.map(&:name).must_equal db[:users].map(:name) end it 'Detect' do users_query.detect(id: 3).must_equal User.new(id: 3, name: 'User 3') end \ No newline at end of file