Posts [ 2 ]

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?

Once you feel confortable with the Rails default test tool and need more, you can move to more advanced tools like Cucumber and rSpec, also covered by the Rails Test Prescriptions book. The rSpec book is very good also: http://pragprog.com/titles/achbd/the-rspec-book