Skip to content
Snippets Groups Projects
Commit fd2caf4f authored by Allison Browne's avatar Allison Browne :speech_balloon:
Browse files

Change allow_values to allow_value

parent 02b1c3e9
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -15,7 +15,7 @@ describe ErrorTracking::ProjectErrorTrackingSetting do
 
describe 'Validations' do
it { is_expected.to validate_length_of(:api_url).is_at_most(255) }
it { is_expected.to allow_values("http://gitlab.com/api/0/projects/project1/something").for(:api_url) }
it { is_expected.to allow_value("http://gitlab.com/api/0/projects/project1/something").for(:api_url) }
 
it 'rejects invalid api_urls' do
is_expected.not_to allow_values(
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment