Commit d3f42855 authored by Allison Browne's avatar Allison Browne
Browse files

Add ascii example back

parent fd2caf4f
......@@ -16,6 +16,7 @@ describe ErrorTracking::ProjectErrorTrackingSetting do
describe 'Validations' do
it { validate_length_of(:api_url).is_at_most(255) }
it { allow_value("").for(:api_url) }
it { is_expected.not_to allow_values("€").for(:api_url) }
it 'rejects invalid api_urls' do
is_expected.not_to allow_values(
Supports Markdown
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