spec/unit/resource/includes_spec.rb in activeadmin-1.0.0.pre5 vs spec/unit/resource/includes_spec.rb in activeadmin-1.0.0

- old
+ new

@@ -5,10 +5,10 @@ describe "#includes" do let(:application) { ActiveAdmin::Application.new } let(:namespace) { ActiveAdmin::Namespace.new application, :admin } let(:resource_config) { ActiveAdmin::Resource.new namespace, Post } - let(:dsl){ ActiveAdmin::ResourceDSL.new(resource_config, Post) } + let(:dsl){ ActiveAdmin::ResourceDSL.new(resource_config) } it "should register the includes in the config" do dsl.run_registration_block do includes :taggings, :author end