blob: 7906fc1f399fb283925ce93280a58a0f5bd00046 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
# frozen_string_literal: true
RSpec.shared_examples 'showing user status' do
let!(:status) { create(:user_status, user: user_with_status, emoji: 'smirk', message: 'Authoring this object') }
it 'shows the status' do
subject
expect(page).to show_user_status(status)
end
end
|