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

Change allow_values to allow_value

parent 02b1c3e9
......@@ -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(
......
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