Adding a block model and filter mentions from blocked users (fix #60)
This commit is contained in:
@ -2,8 +2,8 @@ require 'rails_helper'
|
||||
|
||||
RSpec.describe AboutController, type: :controller do
|
||||
|
||||
describe "GET #index" do
|
||||
it "returns http success" do
|
||||
describe 'GET #index' do
|
||||
it 'returns http success' do
|
||||
get :index
|
||||
expect(response).to have_http_status(:success)
|
||||
end
|
||||
|
3
spec/fabricators/block_fabricator.rb
Normal file
3
spec/fabricators/block_fabricator.rb
Normal file
@ -0,0 +1,3 @@
|
||||
Fabricator(:block) do
|
||||
|
||||
end
|
5
spec/models/block_spec.rb
Normal file
5
spec/models/block_spec.rb
Normal file
@ -0,0 +1,5 @@
|
||||
require 'rails_helper'
|
||||
|
||||
RSpec.describe Block, type: :model do
|
||||
|
||||
end
|
Reference in New Issue
Block a user