diff options
author | Azul <azul@riseup.net> | 2016-03-24 11:39:22 +0100 |
---|---|---|
committer | Azul <azul@riseup.net> | 2016-05-02 08:28:44 -0300 |
commit | 5d18e8c396181ee8fab3f8579bc19abaee106d52 (patch) | |
tree | fd075fe9d9d295f3db1596ecf744dab83d296cfd /test/support/assert_responses.rb | |
parent | b11f61b922748949ff0b762ec2aed0558de3c28b (diff) |
test: flash now has string keys
Diffstat (limited to 'test/support/assert_responses.rb')
-rw-r--r-- | test/support/assert_responses.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/support/assert_responses.rb b/test/support/assert_responses.rb index 7724fb4..98c9ad2 100644 --- a/test/support/assert_responses.rb +++ b/test/support/assert_responses.rb @@ -85,7 +85,7 @@ module AssertResponses assert_json_response('error' => key.to_s, 'message' => message) assert_response status else - assert_equal({:alert => message}, flash.to_hash) + assert_equal({'alert' => message}, flash.to_hash) end end |