cover rails, capybara and jasmine tests for dashboard