Topic: first time writing tests, some questions & before_filter causing error
In my App controller I run a before filter to find the current @site, but when I run the default tests that the Rails has I get a NoMethodError when I try to query @site.domain (since it obviously hasn't been looked up). Not sure how to proceed here?
Also, should I just use Rails for my tests, or should I look in to some other test tools (like cucumber). If so, what should I look into?