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

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

RSpec.shared_examples 'responds with error' do |message|
  it 'returns error' do
    expect(subject).to be_a(ServiceResponse)
    expect(subject).to be_error
    expect(subject.message).to eq(message)
  end
end