Skip to content

Commit

Permalink
Fixes to hobo/model doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
tslocke committed Nov 11, 2011
1 parent ec4ab6b commit 4aec06f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions hobo/test/doctest/hobo/model.rdoctest
Expand Up @@ -52,10 +52,8 @@ declaration:

end

$ rails generate hobo:migration -n -m

>> Rails::Generators.invoke 'hobo:migration', %w(-n -m)
>> Post.all
>> Post.connection.execute 'select * from posts' # Post.all was breaking : /
=> []
{.hidden}

Expand Down Expand Up @@ -133,7 +131,7 @@ object. In this case, you can provide your own name method instead:
$ rails generate hobo:migration -n -m

>> Rails::Generators.invoke 'hobo:migration', %w(-n -m)
>> Person.all
>> Person.connection.execute 'select * from people'
=> []
{.hidden}

Expand Down

0 comments on commit 4aec06f

Please sign in to comment.