Skip to content

Commit

Permalink
Update spec expectation for pull: 'left' nav。
Browse files Browse the repository at this point in the history
  • Loading branch information
keikun17 committed May 11, 2014
1 parent 128f373 commit 18db064
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/lib/twitter_bootstrap_rails/navbar_helper_spec.rb
Expand Up @@ -77,10 +77,10 @@
end.should eql '<ul class="nav navbar-nav "><li><a href="/">Home</a></li><li><a href="/products">Products</a></li></ul>'
end

it "should return a ul with class .pull-left when passed the {:pull => :left} option" do
it "should return a ul with class .navbar-left when passed the {:pull => :left} option" do
menu_group(:pull => :left) do
menu_item("Home", "/")
end.should eql('<ul class="nav navbar-nav pull-left"><li><a href="/">Home</a></li></ul>')
end.should eql('<ul class="nav navbar-nav navbar-left"><li><a href="/">Home</a></li></ul>')
end
end

Expand Down

0 comments on commit 18db064

Please sign in to comment.