Skip to content

Commit

Permalink
Fix Vim folds
Browse files Browse the repository at this point in the history
  • Loading branch information
remi committed Nov 2, 2012
1 parent 1bfac70 commit 61688ef
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions spec/model/orm_spec.rb
Expand Up @@ -207,20 +207,20 @@ def organization=(organization)
@users[1].id.should == 2
end # }}}

it "handles finding by an array of ids" do
it "handles finding by an array of ids" do # {{{
@users = User.find([1, 2])
@users.should be_kind_of(Array)
@users.length.should == 2
@users[0].id.should == 1
@users[1].id.should == 2
end
end # }}}

it "handles finding by an array of ids of length 1" do
it "handles finding by an array of ids of length 1" do # {{{
@users = User.find([1])
@users.should be_kind_of(Array)
@users.length.should == 1
@users[0].id.should == 1
end
end # }}}

it "handles finding with other parameters" do # {{{
@users = User.all(:age => 42)
Expand Down Expand Up @@ -329,7 +329,7 @@ def organization=(organization)
[200, {}, body]
end
end
end # }}}
end

spawn_model "Foo::User" do
def to_params
Expand Down

0 comments on commit 61688ef

Please sign in to comment.