Adding POST /api/v1/reports API, and a UI for submitting reports
This commit is contained in:
4
spec/fabricators/report_fabricator.rb
Normal file
4
spec/fabricators/report_fabricator.rb
Normal file
@ -0,0 +1,4 @@
|
||||
Fabricator(:report) do
|
||||
comment "You nasty"
|
||||
action_taken false
|
||||
end
|
5
spec/models/report_spec.rb
Normal file
5
spec/models/report_spec.rb
Normal file
@ -0,0 +1,5 @@
|
||||
require 'rails_helper'
|
||||
|
||||
RSpec.describe Report, type: :model do
|
||||
|
||||
end
|
Reference in New Issue
Block a user