I have a problem using rspec with my rspec tests with my application.
I used authlogic to create my athentication system, following the
video on railscast. It works fine with cucumber, but I always have a
problem with rspec :
ActiveRecord::StatementInvalid in ‘ApplUsersController new action
should render new template’
SQLite3::SQLException: table appl_users has no column named password:
INSERT INTO “appl_users” (“created_at”, “updated_at”, “username”,
“id”, “password”, “email”) VALUES (‘2009-06-29 23:01:48’, ‘2009-06-29
23:01:48’, ‘MyString’, 996332877, ‘MyString’, ‘MyString’)
In my spec file it is related to these lines :
it “new action should render new template” do
I think it is because of my migration file but I’m really not sure
create_table :appl_users do |t|
could you help me please?
Thanks by advance