Skip to content

Commit

Permalink
remove calls to deprecated find(:first) in actionpack test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
lest committed Apr 26, 2012
1 parent 8b0489c commit 67e8004
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -16,7 +16,7 @@ def render_with_scope
end

def render_with_has_many_through_association
@developer = Developer.find(:first)
@developer = Developer.first
render :partial => @developer.topics
end

Expand All @@ -31,7 +31,7 @@ def render_with_belongs_to_association
end

def render_with_record
@developer = Developer.find(:first)
@developer = Developer.first
render :partial => @developer
end

Expand Down

0 comments on commit 67e8004

Please sign in to comment.