Fix development dependencies, so that specs can be run properly#112
Fix development dependencies, so that specs can be run properly#112wolframarnold wants to merge 1 commit intostffn:masterfrom
Conversation
|
Well, I'm testing against Rails 3, so it does work. I'm fully with you on improving the test infrastructure, though. The current architecture is still based on Rails 2, though. To test, I currently have an empty Rails 3 app, execute a bundle exec bash from there, switch into the decl_auth path and run rake. Not great, I agree. Thus, any improvements welcome. Should work in Rails 2 as well, though. |
|
Doesn't work with a bare rails 3.2 app. |
|
Strangely enough, it works for me for Rails 3.2.5: |
|
I must have missed setting the rails root or something. but now, when I run the tests using that procedure (master branch, not my changes) I get a ton of errors: https://gist.github.com/1bb55e0e3c07190f6e76 |
|
de590c5 should have fixed that. Do you see them, even with that commit? |
|
That's better, I'm down to: test_usages_by_controllers(MaintenanceTest): NoMethodError: undefined method `demodulize' for nil:NilClass |
The gemspec was missing the proper development dependencies for the test suite to run, notably
Rails 2.3.x:
Sqlite3
The test suite is NOT Rails 3 compatible;
test_helper.rbtries torequire "initializer"online 20, which is not available in Rails 3.