diff --git a/spec/requests/client_prefixes_spec.rb b/spec/requests/client_prefixes_spec.rb index bc05fb6c1..dbebf873c 100644 --- a/spec/requests/client_prefixes_spec.rb +++ b/spec/requests/client_prefixes_spec.rb @@ -112,7 +112,7 @@ post '/client-prefixes', not_valid_attributes, headers expect(last_response.status).to eq(422) - expect(json["errors"].first).to eq("source" => "client", "title"=>"Can't be blank") + expect(json["errors"].first).to eq("source" => "client", "title"=>"Must exist") end end end diff --git a/spec/requests/provider_prefixes_spec.rb b/spec/requests/provider_prefixes_spec.rb index 3a46a33e4..18318294a 100644 --- a/spec/requests/provider_prefixes_spec.rb +++ b/spec/requests/provider_prefixes_spec.rb @@ -146,7 +146,7 @@ post '/provider-prefixes', not_valid_attributes, headers expect(last_response.status).to eq(422) - expect(json["errors"].first).to eq("source"=>"provider", "title"=>"Can't be blank") + expect(json["errors"].first).to eq("source"=>"provider", "title"=>"Must exist") end end end diff --git a/spec/requests/repository_prefixes_spec.rb b/spec/requests/repository_prefixes_spec.rb index e44e6ab8e..2a6a5ff8b 100644 --- a/spec/requests/repository_prefixes_spec.rb +++ b/spec/requests/repository_prefixes_spec.rb @@ -164,7 +164,7 @@ post '/repository-prefixes', not_valid_attributes, headers expect(last_response.status).to eq(422) - expect(json["errors"].first).to eq("source"=>"client", "title"=>"Can't be blank") + expect(json["errors"].first).to eq("source"=>"client", "title"=>"Must exist") end end end