Fix admin projects spec

This commit is contained in:
Clement Ho 2018-04-23 15:37:26 -05:00
parent 214f20d6cc
commit 512abfe15c
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ describe "Admin::Projects" do
expect(page).to have_content(project.name)
expect(page).to have_content(archived_project.name)
expect(page).to have_xpath("//span[@class='label label-warning']", text: 'archived')
expect(page).to have_xpath("//span[@class='badge badge-warning']", text: 'archived')
end
it 'renders only archived projects', :js do