Welcome to mirror list, hosted at ThFree Co, Russian Federation.

showing_user_status_shared_examples.rb « shared_examples « support « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: eef769de2fcd7147160071fd18455ce64759840e (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

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