made all the specs run on 1.9.2, yay :)
This commit is contained in:
parent
d1d8da513c
commit
a17df45fc3
15 changed files with 23 additions and 17 deletions
|
@ -1,4 +1,4 @@
|
|||
require File.dirname(__FILE__) + '/../../spec_helper'
|
||||
require File.expand_path("../../../spec_helper", __FILE__)
|
||||
require File.join(FIXTURE_PATH, 'more', 'article')
|
||||
require File.join(FIXTURE_PATH, 'more', 'course')
|
||||
|
||||
|
@ -354,7 +354,8 @@ describe "ExtendedDocument views" do
|
|||
a = Article.new(:title => title, :date => Date.today)
|
||||
a.save
|
||||
end
|
||||
end
|
||||
end
|
||||
require 'date'
|
||||
it "should return a proxy that looks like an array of 7 Article objects" do
|
||||
articles = Article.by_date :key => Date.today
|
||||
articles.class.should == Array
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue