Fix admin projects spec
This commit is contained in:
parent
214f20d6cc
commit
512abfe15c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue