add passing tests for entries controller spec
change to ruby 1.9 hash syntax