Skip to content

Commit

Permalink
Spec to ensure that the gsub is working properly
Browse files Browse the repository at this point in the history
[Fixes #704]
  • Loading branch information
LBRapid authored and schof committed Oct 21, 2011
1 parent 604d297 commit c661bae
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions core/spec/helpers/navigation_helper_spec.rb
@@ -0,0 +1,12 @@
require 'spec_helper'

describe Admin::NavigationHelper do
describe "#tab" do
context "creating an admin tab" do
it "should capitalize the first letter of each word in the tab's label" do
admin_tab = tab(:orders)
admin_tab.should include("Orders")
end
end
end
end

0 comments on commit c661bae

Please sign in to comment.