Browse files

The Ruby 1.9 hash syntax is fucking shit

  • Loading branch information...
1 parent 798d8dc commit 548b491f08acfa2df265a73f44c565bf12b70b12 @bcardarella bcardarella committed Apr 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/active_record/cases/test_middleware.rb
View
2 test/active_record/cases/test_middleware.rb
@@ -86,7 +86,7 @@ def test_mysql_adapter_uniqueness_when_id_is_given
end
def test_mysql_adapter_uniqueness_when_id_is_given_with_scope
- user = User.create(email: 'user@test.com', name: 'Brian')
+ user = User.create(:email => 'user@test.com', :name => 'Brian')
ActiveRecord::ConnectionAdapters::SQLite3Adapter.
any_instance.expects(:instance_variable_get).
with("@config").

0 comments on commit 548b491

Please sign in to comment.