Integration tests with 'capybara' for users authorization process
fixed error in application.js