lib/agilibox/test_helpers.rb in agilibox-1.2.3 vs lib/agilibox/test_helpers.rb in agilibox-1.3.0
- old
+ new
@@ -1,7 +1,7 @@
module Agilibox::TestHelpers
def json_response
- @json_response ||= JSON.parse(response.body)
+ @json_response ||= JSON.parse(response.body).with_indifferent_access
end
def email_deliveries
ActionMailer::Base.deliveries
end