spec/lib/tabulous/default_renderer_spec.rb in tabulous-2.0.0 vs spec/lib/tabulous/default_renderer_spec.rb in tabulous-2.1.0

- old
+ new

@@ -33,11 +33,11 @@ it "should return the expected HTML for tabs" do tabs_html = @renderer.tabs_html expected_html = <<-HTML.strip_heredoc <div class="tabs"> <ul> - <li><a href="/cakes" class="tab">cakes</a></li><li class="disabled"><span class="tab">cupcakes</span></li><li class="active"><a href="/breads" class="tab">breads</a></li> + <li><a href="/cakes" class="tab" >cakes</a></li><li class="disabled"><span class="tab">cupcakes</span></li><li class="active"><a href="/breads" class="tab" data-method="delete">breads</a></li> </ul> </div> HTML tabs_html.should == expected_html end @@ -45,10 +45,10 @@ it "should return the expected HTML for subtabs" do subtabs_html = @renderer.subtabs_html expected_html = <<-HTML.strip_heredoc <div class="subtabs"> <ul> - <li class="active"><a href="/breads/spoonbread" class="tab">spoonbread</a></li><li><a href="/breads/banana-bread" class="tab">banana bread</a></li> + <li class="active"><a href="/breads/spoonbread" class="tab" >spoonbread</a></li><li><a href="/breads/banana-bread" class="tab" data-method="post">banana bread</a></li> </ul> </div> HTML subtabs_html.should == expected_html end