Ah - I performed "rake db:test:prepare" and now my tests are passing. 
However, it still takes over a minute for an rspec spec test to even begin. 
I wonder what is causing the hang up?

Thanks,

On Thursday, March 21, 2013 10:01:35 PM UTC-7, Michael Armistead wrote:
>
> Thanks for the reply. I tried that, although I am still having the same 
> troubles. Also, now when I type "bundle exec rspec spec" I enter the 
> command and then the terminal hangs completely frozen for almost a full 
> minute before the tests are actually ran. However, when the tests finally 
> do run, it reports they finished in just .4 seconds.
>
> Something is truly off here. Do I need to reinstall RVM? Would that be a 
> good idea?
>
> Thanks again,
>
> On Thursday, March 21, 2013 7:07:38 PM UTC-7, tamouse wrote:
>>
>> On Thu, Mar 21, 2013 at 8:41 PM, Michael Armistead 
>> <[email protected]> wrote: 
>> > I think There's a problem with my database. It looks like the majority 
>> of my 
>> > tests say "could not find table 'users'". I have tried "rake db:setup" 
>> and 
>> > "rake db:migrate" but no luck. 
>> > Thanks!!! 
>> > 
>> > 
>> > On Thursday, March 21, 2013 6:24:10 PM UTC-7, Michael Armistead wrote: 
>> >> 
>> >> Hello again, 
>> >> 
>> >> I am still working through tutorials, but I have my sample app up on 
>> >> github. Previously, I had it set up with guard/spork etc, and have 
>> about 49 
>> >> tests written. Last time I used it, everything worked fine and passed. 
>> I did 
>> >> a push to github and all was well. 
>> >> 
>> >> Since then, I have had to reinstall the OS on my computer (Ubuntu 
>> 12.10), 
>> >> and I have finally got Sublime Text 2, rvm, rails etc installed. After 
>> all 
>> >> of that, I cloned my app into the directory I wanted. Then I used 
>> "bundle 
>> >> install", as I have read needed to be done. Next, I tried to run my 
>> tests 
>> >> (this time without guard/spork) so I just ran "bundle exec rspec 
>> spec". The 
>> >> terminal window freezes for about 30 seconds and then spits out an 
>> output 
>> >> saying that every one of my tests has failed. 
>> >> 
>> >> My application and directory structure is identical to what it was in 
>> my 
>> >> previous OS. What could be causing this to happen? 
>> >> 
>> >> Very confused... 
>> >> 
>> >> Thanks! 
>>
>> Try the full load: db:drop db:create db:schema:load db:migrate. 
>>
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/U-cCNBgRP34J.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to