Sha256: 7abd69f022d66e515903e7610aea3596377d468be7b7e62484e787aa85387fd9
Contents?: true
Size: 588 Bytes
Versions: 2
Compression:
Stored size: 588 Bytes
Contents
require File.dirname(__FILE__) + '/../../spec_helper' describe SimpleNavigation::Renderer::Base do before(:each) do @base_renderer = SimpleNavigation::Renderer::Base.new(:current_primary, :current_secondary) end it "should inclue ActionView::Helpers::UrlHelper" do @base_renderer.should respond_to(:link_to) end it "should include ActionView::Helpers::TagHelper" do @base_renderer.should respond_to(:content_tag) end it {@base_renderer.current_navigation.should == :current_primary} it {@base_renderer.current_sub_navigation.should == :current_secondary} end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
andi-simple-navigation-1.1.1 | spec/lib/renderer/base_spec.rb |
simple-navigation-1.1.1 | spec/lib/renderer/base_spec.rb |