expect(rendered).tohave_css('.environment-information',text: "This build is an out-of-date deployment to #{environment.name}. View the most recent deployment #1")
expected_text='This build is an out-of-date deployment '\
"to staging. View the most recent deployment ##{first_deployment.id}"