diff --git a/spec/controllers/home_controller_spec.rb b/spec/controllers/home_controller_spec.rb index ebe3a8be..beb556e0 100644 --- a/spec/controllers/home_controller_spec.rb +++ b/spec/controllers/home_controller_spec.rb @@ -66,7 +66,7 @@ describe HomeController, type: :controller do describe 'with simple user' do let(:unchanged_attributes) { user.attributes.slice('first_name', 'last_name', 'email') } let(:changed_attributes) { attributes_for :user } - let(:invalid_attributes) { { email: 'e.mail.com'} } + let(:invalid_attributes) { { email: 'e.mail.com' } } before { login user }