Sha256: 34adabbe1df28e5d3db98003dc72bc9af8a575b3d93e01c60a03796b5884e120
Contents?: true
Size: 843 Bytes
Versions: 10
Compression:
Stored size: 843 Bytes
Contents
# Skipping on Travis-CI, because capybara-webkit does not install on travis. unless ENV["CI"] require 'spec_helper' describe "Modules" do context "A custom module with a main-apps controller" do before(:each) do load_authorization_rules create_admin_user login_into_alchemy end it "should have a button in main_navigation, pointing to the configured controller" do Alchemy::Modules.register_module( { :name => 'events', :navigation => { :icon => 'icon events', :name => 'Events', :controller => '/admin/events', :action => 'index' } }) visit '/alchemy/admin' click_on 'Events' page.should_not have_content('Upps!') end end end end
Version data entries
10 entries across 10 versions & 1 rubygems