spec/admino/query/base_spec.rb in admino-0.0.18 vs spec/admino/query/base_spec.rb in admino-0.0.19
- old
+ new
@@ -145,18 +145,18 @@
Class.new(Base) do
def self.model_name
ActiveModel::Name.new(self, nil, "temp")
end
- def search_field(scope, foo)
+ def search_field_scope(scope, foo)
scope.my_search_field(foo)
end
- def one(scope)
+ def one_scope(scope)
scope.my_one
end
- def title(scope, order)
+ def title_scope(scope, order)
scope.my_title(order)
end
end
end