Fixed the finder ('all' finder was used in seed test instead of singular one).

This commit is contained in:
alexs
2013-08-07 19:24:57 +10:00
parent 28f94ae959
commit 97ff668029

View File

@@ -36,4 +36,4 @@ end
# -- Seeding suburbs
require_relative './suburb_seeds'
SuburbSeeder.seed_suburbs unless Suburb.find_all_by_name("Dayton")
SuburbSeeder.seed_suburbs unless Suburb.find_by_name("Dayton")