diff options
| author | Neeraj Singh <neerajdotname@gmail.com> | 2011-06-08 03:36:45 -0400 |
|---|---|---|
| committer | Neeraj Singh <neerajdotname@gmail.com> | 2011-06-08 10:51:10 -0400 |
| commit | 7fff2f9fe3b6d813b876842f45b26ed1beb7f7f8 (patch) | |
| tree | e37959f9b49573563a522ace7445185163606124 /railties/lib/rails/generators | |
| parent | b64524d6fdacdd03277efd7b12ff0e8fa97737e2 (diff) | |
| download | rails-7fff2f9fe3b6d813b876842f45b26ed1beb7f7f8.tar.gz rails-7fff2f9fe3b6d813b876842f45b26ed1beb7f7f8.tar.bz2 rails-7fff2f9fe3b6d813b876842f45b26ed1beb7f7f8.zip | |
Make test meaningful
If before_filter list was being called mistakenly then
the test should fail. However test will not fail because
second filter is assigning new values to @list. To truly
test that first before_filter is not called when it should
not be called then @list should not assigned value unconditionally.
This patch will make the test fail if first filter is called.
Diffstat (limited to 'railties/lib/rails/generators')
0 files changed, 0 insertions, 0 deletions
