Browse files

Fix failing 1.8.7 travis builds by sorting expected hash keys

  • Loading branch information...
1 parent 1a051d4 commit 6afde9644fb631c6e8328cc604df09982cd544e6 @bak bak committed Aug 27, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/lib/data_magic_spec.rb
View
2 spec/lib/data_magic_spec.rb
@@ -31,7 +31,7 @@ class UserPage
include DataMagic
end
data = UserPage.new.data_for "user/valid"
- expect(data.keys).to eq(['name', 'job'])
+ expect(data.keys.sort).to eq(['job','name'])
end
end
end

0 comments on commit 6afde96

Please sign in to comment.