fix ordered hash expectation in specs, drop rbx-19
This commit is contained in:
parent
9e1898fe5d
commit
8b3c988e81
|
@ -3,7 +3,6 @@ rvm:
|
||||||
- 1.9.2
|
- 1.9.2
|
||||||
- ree
|
- ree
|
||||||
- rbx-18mode
|
- rbx-18mode
|
||||||
- rbx-19mode
|
|
||||||
- ruby-head
|
- ruby-head
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
|
|
@ -124,7 +124,8 @@ module Ransack
|
||||||
)
|
)
|
||||||
search.result.should be_an ActiveRecord::Relation
|
search.result.should be_an ActiveRecord::Relation
|
||||||
where = search.result.where_values.first
|
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
|
end
|
||||||
|
|
||||||
it 'evaluates arrays of groupings' do
|
it 'evaluates arrays of groupings' do
|
||||||
|
@ -220,4 +221,4 @@ module Ransack
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue