diff --git a/spec/controllers/settings/profile_controller_spec.rb b/spec/controllers/settings/profile_controller_spec.rb index b3387870..299fecf7 100644 --- a/spec/controllers/settings/profile_controller_spec.rb +++ b/spec/controllers/settings/profile_controller_spec.rb @@ -22,7 +22,7 @@ describe Settings::ProfileController, type: :controller do subject { patch :update, params: { profile: profile_params } } let(:profile_params) do { - display_name: 'sneaky cune' + display_name: "sneaky cune" } end @@ -32,7 +32,7 @@ describe Settings::ProfileController, type: :controller do before(:each) { sign_in user } 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 it "redirects to the edit_user_profile page" do @@ -41,4 +41,4 @@ describe Settings::ProfileController, type: :controller do end end end -end \ No newline at end of file +end diff --git a/spec/controllers/settings/profile_picture_controller_spec.rb b/spec/controllers/settings/profile_picture_controller_spec.rb index 3bf6095f..6e1bc692 100644 --- a/spec/controllers/settings/profile_picture_controller_spec.rb +++ b/spec/controllers/settings/profile_picture_controller_spec.rb @@ -27,4 +27,4 @@ describe Settings::ProfilePictureController, type: :controller do end end end -end \ No newline at end of file +end