spec/unit/resource/ordering_spec.rb in activeadmin-1.0.0 vs spec/unit/resource/ordering_spec.rb in activeadmin-1.1.0
- old
+ new
@@ -18,11 +18,10 @@
end
end
expect(resource_config.ordering.size).to eq(1)
end
-
it "should allow to setup custom ordering class" do
MyOrderClause = Class.new(ActiveAdmin::OrderClause)
dsl.run_registration_block do
config.order_clause = MyOrderClause
end
@@ -32,7 +31,5 @@
end
end
end
end
-
-