diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-02-22 03:42:22 +0300 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-02-23 18:31:57 +0300 |
commit | d78513cb6ccfe10976cc433e2b421c30d06d19be (patch) | |
tree | b0f13c7a7a512c5c6ccb00eb9f9d0d87bdcc3c69 /spec/models/project_services/irker_service_spec.rb | |
parent | 5cd9c7c6ea1ba5c6ad40799b9476145803dccba5 (diff) |
Enable Security/JSONLoad
Diffstat (limited to 'spec/models/project_services/irker_service_spec.rb')
-rw-r--r-- | spec/models/project_services/irker_service_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/project_services/irker_service_spec.rb b/spec/models/project_services/irker_service_spec.rb index b9fb6f3f6f4..dd5400f937b 100644 --- a/spec/models/project_services/irker_service_spec.rb +++ b/spec/models/project_services/irker_service_spec.rb @@ -59,7 +59,7 @@ describe IrkerService, models: true do conn = @irker_server.accept conn.readlines.each do |line| - msg = JSON.load(line.chomp("\n")) + msg = JSON.parse(line.chomp("\n")) expect(msg.keys).to match_array(['to', 'privmsg']) expect(msg['to']).to match_array(["irc://chat.freenode.net/#commits", "irc://test.net/#test"]) |