Change @build.mocks to @build.final_mocks in erb