mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-05-18 13:38:24 -04:00
Merge pull request #1704 from codeminator/fix-warning-in-photos-controller-spec
Fix Warning in specs: PhotoController
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user