Add shared example for Expireable
concern (#33369)
This commit is contained in:
parent
dd56292d1f
commit
28d309fd86
6 changed files with 136 additions and 0 deletions
|
@ -3,6 +3,8 @@
|
|||
require 'rails_helper'
|
||||
|
||||
RSpec.describe Poll do
|
||||
include_examples 'Expireable'
|
||||
|
||||
describe 'Scopes' do
|
||||
let(:status) { Fabricate(:status) }
|
||||
let(:attached_poll) { Fabricate(:poll, status: status) }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue