fix ordered hash expectation in specs, drop rbx-19

This commit is contained in:
Ernie Miller 2012-01-27 09:39:17 -05:00
parent 9e1898fe5d
commit 8b3c988e81
2 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,6 @@ rvm:
- 1.9.2
- ree
- rbx-18mode
- rbx-19mode
- ruby-head
env:

View File

@ -124,7 +124,8 @@ module Ransack
)
search.result.should be_an ActiveRecord::Relation
where = search.result.where_values.first
where.to_sql.should match /"children_people"."name" = 'Ernie' AND \("people"."name" = 'Ernie' OR "children_people_2"."name" = 'Ernie'\)/
where.to_sql.should match /"children_people"."name" = 'Ernie'/
where.to_sql.should match /\("people"."name" = 'Ernie' OR "children_people_2"."name" = 'Ernie'\)/
end
it 'evaluates arrays of groupings' do
@ -220,4 +221,4 @@ module Ransack
end
end
end
end