mirror of
https://github.com/manyfold3d/manyfold.git
synced 2026-10-22 03:32:18 -05:00
update test to make sure data is invalid
This commit is contained in:
1 file changed
+1
-1
@@ -131,7 +131,7 @@ RSpec.describe "Groups", :after_first_run do
|
||||
end
|
||||
|
||||
it "gives a 422 response if the data is invalid" do
|
||||
patch "/creators/#{creator.to_param}/groups/#{group.to_param}", params: {group: {name: nil}}
|
||||
patch "/creators/#{creator.to_param}/groups/#{group.to_param}", params: {group: {name: " "}}
|
||||
expect(response).to have_http_status :unprocessable_content
|
||||
end
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user