Adding a block model and filter mentions from blocked users (fix #60)
This commit is contained in:
parent
a488b05726
commit
9d59d7b463
11 changed files with 55 additions and 12 deletions
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue