Sha256: fb6a80787c02f4037777199be254da94d0c122cb3034b50f2226d0ab89ce3831
Contents?: true
Size: 595 Bytes
Versions: 13
Compression:
Stored size: 595 Bytes
Contents
require 'spec_helper' describe "Modules" do context "A custom module with a main-apps controller" do before { authorize_as_admin } 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 '/admin' click_on 'Events' expect(page).not_to have_content('Upps!') end end end
Version data entries
13 entries across 13 versions & 1 rubygems