HR Autotest Graphics

July 13, 2008 @ 09:06 PM | posted by carmelyne

(last updated: 07.16.08)

Cause I really like autotest....


I recently had to wipe clean and do a re-install due to an upgrade to Leopard. I'm not going to reinvent so feel free to follow this blog post on how to set up autotest/growl/growlnotify/rspec/leopard. I did divert with my images because I love the people from Hashrocket. :)

Passed Image:

Passed

Pending Image:

Pending

Failed Image:

Fail

Note:
If you're going to follow that blog post and copying the codes for the .autotest, watch out for line 10 on the ternary operator line, the quotes were parsed by his blog so change it to the right one.






1
2
3
# I also had to do:
mv  /usr/local/bin/growlnotify  /opt/local/bin/growlnotify
mv  /usr/local/man/man1/growlnotify.1  /opt/local/man/man1/growlnotify.1

Hashrocket Logo is a trademark of Hashrocket!


/cheers

[ Last updated: July 16, 2008 @ 08:53 AM ]

Sorry, comments are closed for this article.

Snippets of 06/24/07

Rails 'A'..'Z' Paginate

1
2
3
4
5
6
7
8
9
10
11
# Starts with 'A'..'Z' Paginate / model
def self.sort(sort)
  if sort
    find(:all, :conditions => ['name LIKE ?', "#{sort}%"])
  else
    find(:all, :order => 'name')
  end  
end

# index action / controller
@models = Model.sort(params[:sort]) 

Recent Posts...

RailsConf 2006
I heart devChix