adds consistency to spacing

This commit is contained in:
rgarcia
2015-10-11 14:32:39 +02:00
parent 3a0253b7d3
commit 3fe8b6e603
8 changed files with 10 additions and 17 deletions

View File

@@ -34,8 +34,4 @@ class Management::DocumentVerificationsController < Management::BaseController
params.require(:document_verification).permit(:document_type, :document_number)
end
end
end

View File

@@ -20,5 +20,4 @@ class Management::EmailVerificationsController < Management::BaseController
params.require(:email_verification).permit(:document_type, :document_number, :email)
end
end
end

View File

@@ -14,4 +14,5 @@ class Management::SessionsController < ActionController::Base
def destroy_session
session["manager_id"] = nil
end
end

View File

@@ -1,4 +1,5 @@
class Management::UsersController < Management::BaseController
def new
@user = User.new(user_params)
end
@@ -22,4 +23,5 @@ class Management::UsersController < Management::BaseController
def user_params
params.require(:user).permit(:document_type, :document_number, :username, :email)
end
end

View File

@@ -53,4 +53,4 @@ feature 'DocumentVerifications' do
expect(page).to have_content "Please introduce the email used on the account"
end
end
end

View File

@@ -3,7 +3,6 @@ require 'rails_helper'
feature 'EmailVerifications' do
scenario 'Verifying a level 1 user via email' do
login_as_manager(create(:manager))
user = create(:user)
@@ -33,9 +32,6 @@ feature 'EmailVerifications' do
expect(user.reload.document_number).to eq('1234')
expect(user).to be_level_three_verified
end
end
end

View File

@@ -101,6 +101,7 @@ feature 'Proposals' do
end
context "Printing" do
scenario 'Printing proposals', :js do
5.times { create(:proposal) }
@@ -136,6 +137,6 @@ feature 'Proposals' do
expect(current_url).to include('order=confidence_score')
expect(current_url).to include('page=1')
end
end
end
end

View File

@@ -41,7 +41,5 @@ feature 'users' do
expect(page).to have_content "Your email address has been successfully confirmed."
end
end
end