spec/unit/namespace_spec.rb in activeadmin-1.0.0 vs spec/unit/namespace_spec.rb in activeadmin-1.1.0
- old
+ new
@@ -59,10 +59,9 @@
namespace.site_title = "My Site Title"
expect(namespace.site_title).to_not eq application.site_title
end
end
-
describe "#fetch_menu" do
let(:namespace){ ActiveAdmin::Namespace.new(application, :admin) }
it "returns the menu" do
expect(namespace.fetch_menu(:default)).to be_an_instance_of(ActiveAdmin::Menu)