On Sep 20, 10:25 am, "Sergio Cambra .:: entreCables S.L. ::." <[email protected]> wrote: > On Lunes, 19 de Septiembre de 2011 22:17:08 Zac Zheng escribió: > > > I'd like to know this too. It's inconceivable that a widely used Rails > > gem does not have a working test suite. Unless the OP and I are > > missing something? > > ActiveScaffold never had a test suite, only a few tests, very few tests. > Currently I'm the only developer, in last years there was only an active > developer, Volker for some time I hadn't time to update for rails 3, and now > me again, and it's hard to add a test suite because I don't have many time for > active_scaffold. It would be great to get some pull requests to improve test > suite. >
I can appreciate the effort it'd take to add tests to an existing code base. If you do find the time, it'd be much appreciated. In any case, thank you for maintaining and developing Active Scaffold. I'm working on a project that's used it for a couple of years and I'd probably be in serious trouble if it wasn't for you! Zac > I want to get a test suite, but I can't promise anything > > > > > > > > > > > > > On Aug 31, 5:59 pm, Liehann <[email protected]> wrote: > > > Hi, > > > > I forked active scaffold and made a small change, and want to run the > > > tests. However it fails as mock_app seems to still be a rails 2.3 app. > > > > Specifically in boot.rb there is a require 'initializer' line which > > > bombs out (no initializer.rb in rails 2.x?). A rails 3.0 boot.rb looks > > > quite different. > > > > So, the question is how do I make the tests run? > > > > What I tried: > > > bundle install > > > bundle exec raketest > > > > The output: > > > /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.9/lib/active_support/ > > > dependencies.rb:239:in `require': no such file to load -- initializer > > > (LoadError) > > > from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.9/lib/ > > > active_support/dependencies.rb:239:in `require' > > > from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.9/lib/ > > > active_support/dependencies.rb:225:in `load_dependency' > > > from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.9/lib/ > > > active_support/dependencies.rb:596:in `new_constants_in' > > > from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.9/lib/ > > > active_support/dependencies.rb:225:in `load_dependency' > > > from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.9/lib/ > > > active_support/dependencies.rb:239:in `require' > > > from active_scaffold/test/mock_app/config/boot.rb:55:in > > > `load_initializer' > > > from active_scaffold/test/mock_app/config/boot.rb:38:in `run' > > > from active_scaffold/test/mock_app/config/boot.rb:11:in `boot!' > > > from active_scaffold/test/mock_app/config/boot.rb:110 > > > > Regards, > > > Liehann > > -- > Sergio Cambra .:: entreCables S.L. ::. > Mariana Pineda 23, 50.018 Zaragoza > T) 902 021 404 F) 976 52 98 07 E) [email protected] -- You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/activescaffold?hl=en.
