Removing duplicated code
This commit is contained in:
parent
67ee6e3e74
commit
228783d453
1 changed files with 0 additions and 3 deletions
|
@ -431,9 +431,6 @@ describe "ExtendedDocument views" do
|
|||
end
|
||||
end
|
||||
it "should provide a class method to get a collection for a view" do
|
||||
class Article
|
||||
provides_collection :article_details, 'Article', 'by_date', :descending => true, :include_docs => true
|
||||
end
|
||||
articles = Article.find_all_article_details(:key => Date.today)
|
||||
articles.class.should == Array
|
||||
articles.size.should == 7
|
||||
|
|
Loading…
Reference in a new issue