title: PG::Error: ERROR: relation "users" does not exist
body: <p>sorry for disturb you but i have a lot of question about this error.
  first this is my user_controller rspec file </p>
  
  <p>require 'spec/spec_helper'</p>
  
  <pre><code>describe UserController do
  
  it "create new user" do
      post "create"
      assigns[:users].should_not be_new_record
  end
  end
  </code></pre>
  
  <p>this is my UserController</p>
  
  <pre><code> class UserController &lt; ApplicationController
     def create
       @users = User.new
       if @users.save
         flash[:notice] = 'new user was successfully created.'
       else
         render :action =&gt; :new
       end
     end
  
     def new
       @user = User.new
     end
   end
  </code></pre>
  
  <p>and my routes.rb (i think the problem is here, excuse me but i`m new in this language)</p>
  
  <pre><code>Estaciones::Application.routes.draw do
    devise_for :users
  
    root :to =&gt; "home#index"
    resources :user
  end
  </code></pre>
  
  <p>when i try to test my user_controller_rspec then i get this error</p>
  
  <p>Failures:</p>
  
  <pre><code>1) UserController create new user
     Failure/Error: post "create"
     ActiveRecord::StatementInvalid:
       PG::Error: ERROR:  relation "users" does not exist
       LINE 4:              WHERE a.attrelid = '"users"'::regclass
                                               ^
       :             SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
                     FROM pg_attribute a LEFT JOIN pg_attrdef d
                       ON a.attrelid = d.adrelid AND a.attnum = d.adnum
                      WHERE a.attrelid = '"users"'::regclass
                      AND a.attnum &gt; 0 AND NOT a.attisdropped
                    ORDER BY a.attnum
   # ./app/controllers/user_controller.rb:3:in `new'
   # ./app/controllers/user_controller.rb:3:in `create'
   # ./spec/controllers/user_controller_spec.rb:6
  
   Finished in 0.01722 seconds
   1 example, 1 failure
  
   Failed examples:
  
   rspec ./spec/controllers/user_controller_spec.rb:5 # UserController create new user
  </code></pre>
  
  <p>how i can fix it... thanks</p>