2
0

Add shared example for Expireable concern (#33369)

This commit is contained in:
Matt Jankowski
2024-12-20 03:21:34 -05:00
committed by GitHub
parent dd56292d1f
commit 28d309fd86
6 changed files with 136 additions and 0 deletions

View File

@@ -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) }