Skip to content

Instantly share code, notes, and snippets.

@raldred
Created June 16, 2010 15:14
Show Gist options
  • Save raldred/440830 to your computer and use it in GitHub Desktop.
Save raldred/440830 to your computer and use it in GitHub Desktop.
→ rake hydra:spec --trace
(in /Users/robaldred/Sites/ahoys)
loading bundler gems
** Invoke hydra:spec (first_time)
** Invoke env:test (first_time)
** Execute env:test
** Execute hydra:spec
Hydra Testing [> ] 0/1Booting rail env test
Done booting rails env
Starting Sunspot Server
Sunspot server running on port 9910 took 3.77 sec to get up and running.
..FFF
1)
ActionView::TemplateError in 'StaffMember newly created should have a reset_code'
undefined method `url_for' for #<ActionView::Base:0x10541ed98>
On line #8 of app/views/staff_member_mailer/created_notification.text.html.haml
5: Your activation details:
6: %ol
7: %li= "Email: #{@user.email}"
8: %li= link_to('Activation Link',activate_staff_member_url(@user,:reset_code => @user.reset_code))
9:
10: %p
11: = "You can login at #{link_to('the staff back end', admin_url)}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment