Commit 512abfe1 authored by Clement Ho's avatar Clement Ho

Fix admin projects spec

parent 214f20d6
...@@ -34,7 +34,7 @@ describe "Admin::Projects" do ...@@ -34,7 +34,7 @@ describe "Admin::Projects" do
expect(page).to have_content(project.name) expect(page).to have_content(project.name)
expect(page).to have_content(archived_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 end
it 'renders only archived projects', :js do it 'renders only archived projects', :js do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment