Fix intermittent spec failure
This commit is contained in:
parent
83b70ec080
commit
7304aa6238
|
@ -85,12 +85,12 @@ describe "Proxy Class" do
|
||||||
end
|
end
|
||||||
it "should get first" do
|
it "should get first" do
|
||||||
u = @us.first
|
u = @us.first
|
||||||
u.title.should =~ /\A...\z/
|
u.should == @us.all.first
|
||||||
end
|
end
|
||||||
|
|
||||||
it "should get last" do
|
it "should get last" do
|
||||||
u = @us.last
|
u = @us.last
|
||||||
u.title.should == "aaa"
|
u.should == @us.all.last
|
||||||
end
|
end
|
||||||
|
|
||||||
it "should set database on first retreived document" do
|
it "should set database on first retreived document" do
|
||||||
|
|
Loading…
Reference in a new issue