be_true and be_false are deprecated since rspec 3
stub_const should be used to stub constants
Treat symbols as metadata kdey with true values is default now