moved empty space to variable
refactored spec helper