test/ui/nav_test.rb in ui_bibz-2.0.0.alpha16 vs test/ui/nav_test.rb in ui_bibz-2.0.0.alpha18

- old
+ new

@@ -16,10 +16,10 @@ actual = UiBibz::Ui::Core::Navs::Nav.new(type: :pills, position: :justified).tap do |n| n.link 'Home', state: :active, url: "#Home", selector: 'home' n.link 'Profile', url: "#profile", selector: 'profile', label: 16 n.link 'Messages', url: "#messages", selector: 'messages', state: :disabled end.render - expected = "<ul class=\"nav nav-pills pull-justified\"><li class=\"nav-item\"><a class=\"active nav-link\" href=\"#Home\">Home</a></li><li class=\"nav-item\"><a class=\"nav-link\" href=\"#profile\">Profile<span class=\"label-default pull-right label label-pill\">16</span></a></li><li class=\"nav-item\"><a class=\"disabled nav-link\" href=\"#messages\">Messages</a></li></ul>" + expected = "<ul class=\"nav nav-pills pull-justified\"><li class=\"nav-item\"><a class=\"active nav-link\" href=\"#Home\">Home</a></li><li class=\"nav-item\"><a class=\"nav-link\" href=\"#profile\">Profile</a></li><li class=\"nav-item\"><a class=\"disabled nav-link\" href=\"#messages\">Messages</a></li></ul>" assert_equal expected, actual end end