Permalink
Browse files

fix ordered hash expectation in specs, drop rbx-19

  • Loading branch information...
1 parent 9e1898f commit 8b3c988e81e1716a31215b820da7062ab786336e @ernie ernie committed Jan 27, 2012
Showing with 3 additions and 3 deletions.
  1. +0 −1 .travis.yml
  2. +3 −2 spec/ransack/search_spec.rb
View
1 .travis.yml
@@ -3,7 +3,6 @@ rvm:
- 1.9.2
- ree
- rbx-18mode
- - rbx-19mode
- ruby-head
env:
View
5 spec/ransack/search_spec.rb
@@ -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

0 comments on commit 8b3c988

Please sign in to comment.