changed 'be_true' to 'be true' or 'be_truthy' since the former was deprecated and is removed in v3 of rspec