Sha256: 2415c37afc58d39eb0dbce22e3a623db9a2e2083306439a7d69ec9b69d3f1b8b
Contents?: true
Size: 914 Bytes
Versions: 7
Compression:
Stored size: 914 Bytes
Contents
require 'spec_helper' def it_should_have_view(key, value) it "should have #{value} for view key '#{key}'" do subject.send(key).should == value end end describe ActiveAdmin::ViewFactory do it_should_have_view :global_navigation, ActiveAdmin::Views::TabbedNavigation it_should_have_view :utility_navigation, ActiveAdmin::Views::TabbedNavigation it_should_have_view :site_title, ActiveAdmin::Views::SiteTitle it_should_have_view :action_items, ActiveAdmin::Views::ActionItems it_should_have_view :header, ActiveAdmin::Views::Header it_should_have_view :blank_slate, ActiveAdmin::Views::BlankSlate it_should_have_view :action_list_popover, ActiveAdmin::Views::ActionListPopover it_should_have_view :dashboard_page, ActiveAdmin::Views::Pages::Dashboard it_should_have_view :layout, ActiveAdmin::Views::Pages::Layout end
Version data entries
7 entries across 7 versions & 2 rubygems