Commit d3f42855 authored by allison.browne's avatar allison.browne

Add ascii example back

parent fd2caf4f
......@@ -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(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment