diff --git a/core/spec/helpers/navigation_helper_spec.rb b/core/spec/helpers/navigation_helper_spec.rb new file mode 100644 index 00000000000..9aa22fc9044 --- /dev/null +++ b/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