Skip to content

Commit

Permalink
fix specs
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Apr 30, 2020
1 parent 3139b56 commit 1a04e83
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion spec/requests/client_prefixes_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion spec/requests/provider_prefixes_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion spec/requests/repository_prefixes_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1a04e83

Please sign in to comment.