you can use stub_model(Contest) here