Robin Dupret
5ad7f8ab41
Use Ruby 1.9 Hash syntax in railties
2012-10-14 18:26:58 +02:00
Vijay Dev
f638ef951b
Merge branch 'master' of github.com:lifo/docrails
...
Conflicts:
activerecord/lib/active_record/persistence.rb
railties/lib/rails/generators/rails/resource_route/resource_route_generator.rb
2012-10-11 01:05:14 +05:30
Mike Moore
2a68f68aea
Update test locations
...
Change the default test locations to avoid confusion around the common
testing terms "unit" and "functional".
Add new rake tasks for the new locations, while maintaining backwards
compatibility with the old rake tasks.
New testing locations are as follows:
app/models -> test/models (was test/units)
app/helpers -> test/helpers (was test/units/helpers)
app/controllers -> test/controllers (was test/functional)
app/mailers -> test/mailers (was test/functional)
2012-10-09 17:53:56 -06:00
Francesco Rodriguez
eecf14db66
nodoc TestUnit::Generators [ci skip]
2012-10-07 13:41:53 -05:00
Akira Matsuda
22ed6cb798
for ... in => .each
...
I believe this is more modern way
2011-05-18 21:08:08 +09:00
David Heinemeier Hansson
8d7efe6a4e
Stop adding actual dummy tests (they clutter up the real ones in a new app), just show how its done
2011-04-23 13:22:30 +02:00
Piotr Sarnacki
49c3ad7f77
Add namespace for test_unit generators
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-09-25 17:28:10 +02:00
José Valim
b61f6f5980
Load generators from both lib/rails/generators and lib/generators. Using the former since it's less obstrusive.
2010-03-23 13:40:41 +01:00
José Valim
9fffdc5cdb
Generators load path now will be Ruby load path. If you want to use rspec:install generator, you need generators/rspec/install_generator in your load path.
2010-01-18 16:21:11 +01:00
Yehuda Katz + Carl Lerche
f0dd77c6be
Move railties/lib/* into railties/lib/*
2009-09-24 16:11:41 -07:00