summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2016-03-24 11:39:22 +0100
committerAzul <azul@riseup.net>2016-05-02 08:28:44 -0300
commit5d18e8c396181ee8fab3f8579bc19abaee106d52 (patch)
treefd075fe9d9d295f3db1596ecf744dab83d296cfd
parentb11f61b922748949ff0b762ec2aed0558de3c28b (diff)
test: flash now has string keys
-rw-r--r--test/support/assert_responses.rb2
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