Appease the dog overlords

This commit is contained in:
Andreas Nedbal 2022-06-26 20:27:38 +02:00 committed by Karina Kwiatek
parent 6597ab9720
commit f54980de35
2 changed files with 4 additions and 4 deletions

View File

@ -22,7 +22,7 @@ describe Settings::ProfileController, type: :controller do
subject { patch :update, params: { profile: profile_params } } subject { patch :update, params: { profile: profile_params } }
let(:profile_params) do let(:profile_params) do
{ {
display_name: 'sneaky cune' display_name: "sneaky cune"
} }
end end
@ -32,7 +32,7 @@ describe Settings::ProfileController, type: :controller do
before(:each) { sign_in user } before(:each) { sign_in user }
it "updates the user's profile" do it "updates the user's profile" do
expect { subject }.to change{ user.profile.reload.display_name }.to('sneaky cune') expect { subject }.to change { user.profile.reload.display_name }.to("sneaky cune")
end end
it "redirects to the edit_user_profile page" do it "redirects to the edit_user_profile page" do
@ -41,4 +41,4 @@ describe Settings::ProfileController, type: :controller do
end end
end end
end end
end end

View File

@ -27,4 +27,4 @@ describe Settings::ProfilePictureController, type: :controller do
end end
end end
end end
end end