Spec fixing

Removes the deprecated invocation of the text format for mailers (refactoring in comment mailer views, no functionality change).

Fixes a few specs which were broken in themselves, including the Capybara matchers not being available to RSpec.

This should make actual code errors easier to spot!