Skip to content


Subversion checkout URL

You can clone with
Download ZIP


rspec/observer conflict kicking to test #71

djnawara opened this Issue · 2 comments

2 participants


I seem to have some sort of load issue kicking me into the test environment, and I've made a minimal app to replicate the issue. ( has the app attached)

From what I can tell, the problem is due to three related items: 1) a user model with authlogic, 2) rspec-rails, and 3) a users observer. Removing any one of the three seems to "fix" the issue. I've noted the lines which you can comment out to see the problem resolve. (It should then load the development SQLite3 database with my test user). The visible symptom is:

SQLite3::SQLException: no such table: users: SELECT * FROM "users"

Apparently the conflict pushes the app into the test environment and therefore changes the database on me.


  • authlogic 2.1.3
  • rspec and rspec-rails 1.2.9
  • rails 2.3.4

I'm on passenger 2.2.5, and I hope that's not a factor. I currently run stock Snow Leopard ruby.

Any clue how I can further track this down? I don't see anything obvious with either rspec or authlogic fudging with the environment…

David Nawara


@djnawara ever fix this issue / ok to close?


I don't remember posting this. :-\

@djnawara djnawara closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.