Skip to content

Commit

Permalink
[fix] remove tree-item class from content-navi-refresh (#4065)
Browse files Browse the repository at this point in the history
* [fix] remove tree-item class from content-navi-refresh

* [modify] cms Rspec: expect(page).to have_css(.material-icons, text: refresh)
  • Loading branch information
ash0411-maker committed Aug 20, 2021
1 parent 0cd2426 commit 4d37644
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/assets/javascripts/ss/lib/tree_navi.js
Expand Up @@ -89,7 +89,7 @@ SS_TreeNavi.prototype.renderItems = function(data, roots) {
return false;
});

ret.push($("<div />", { class: "tree-item content-navi-refresh" }).html($refresh));
ret.push($("<div />", { class: "content-navi-refresh" }).html($refresh));
}

return ret;
Expand Down
2 changes: 1 addition & 1 deletion spec/features/workflow/branch_spec.rb
Expand Up @@ -62,7 +62,7 @@ def publish_branch(branch)

if item.route == "cms/page"
within "#content-navi" do
expect(page).to have_css(".tree-item", text: "refresh")
expect(page).to have_css(".material-icons", text: "refresh")
end
end

Expand Down

0 comments on commit 4d37644

Please sign in to comment.