Sha256: c1bc28b5cf507a57fa5b18d7edc79a08c0649b29a02e529031532d6f6b3193a3
Contents?: true
Size: 445 Bytes
Versions: 2
Compression:
Stored size: 445 Bytes
Contents
require 'spec_helper' require Rails.root.join("config/guara/menus.rb") include describe MenuHelper do subject { MenuHelper } describe "maintence menu" do before { menu = build_menu_maintence() } it { menu.should be_a(String) } end describe "administration menu" do before { menu = build_menu_admin() } it { menu.should include( link_to(user_path(), I18n.t("users.link") ) ) } end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
guara-0.0.3 | spec/helpers/menu_helper_spec.rb |
guara-0.0.1.rc | spec/helpers/menu_helper_spec.rb |