finish ticket specs, add some changes for rspec/capybara