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

Add ascii example back

parent fd2caf4f
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -16,6 +16,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_value("http://gitlab.com/api/0/projects/project1/something").for(:api_url) }
it { is_expected.not_to allow_values("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