From ac535d32e89677ce8f8c1baf84b65c550614a9ff Mon Sep 17 00:00:00 2001 From: Ahmed Shahin Date: Wed, 10 Oct 2018 08:42:05 +0200 Subject: [PATCH 1/2] Provide message to raise_error --- spec/controllers/photos_controller_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/controllers/photos_controller_spec.rb b/spec/controllers/photos_controller_spec.rb index 4be3aec7f..e54933c3e 100644 --- a/spec/controllers/photos_controller_spec.rb +++ b/spec/controllers/photos_controller_spec.rb @@ -113,7 +113,7 @@ describe PhotosController do comment = FactoryBot.create(:comment) expect do post :create, photo: { flickr_photo_id: photo.flickr_photo_id }, type: "comment", id: comment.id - end.to raise_error + end.to raise_error('Photos not supported') end end From 5dde5610ebf36a63b09e5ee128bd2d9990c517e4 Mon Sep 17 00:00:00 2001 From: Ahmed Shahin Date: Wed, 10 Oct 2018 08:46:28 +0200 Subject: [PATCH 2/2] Add my name to contributors list --- CONTRIBUTORS.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index fba00e2c3..4447030c4 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -85,6 +85,7 @@ submit the change with your pull request. - Mark Taffman / [mftaff](https://github.com/mftaff) - Jennifer Kruse / [jenkr55](https://github.com/jenkr55) - Christopher Bazin / [RobotScissors](https://github.com/robotscissors) +- Ahmed Shahin / [codeminator](https://www.github.com/codeminator) ## Bots