diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2014-01-20 01:47:06 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2014-01-20 01:47:06 +0000 |
commit | 4d95f815d2cedd63da10fc6774194385c1b1b43e (patch) | |
tree | 0bc4c5d94a92c34bda1d31dbc1f41745cc786ff7 /lib | |
parent | a525bc8e98f6e7c88a820ca42df54e58d92a5d1c (diff) | |
download | redmine-4d95f815d2cedd63da10fc6774194385c1b1b43e.tar.gz redmine-4d95f815d2cedd63da10fc6774194385c1b1b43e.zip |
svn propset svn:eol-style LF lib/plugins/awesome_nested_set/.autotest
git-svn-id: http://svn.redmine.org/redmine/trunk@12674 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r-- | lib/plugins/awesome_nested_set/.autotest | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/lib/plugins/awesome_nested_set/.autotest b/lib/plugins/awesome_nested_set/.autotest index 8614a6657..54518a40a 100644 --- a/lib/plugins/awesome_nested_set/.autotest +++ b/lib/plugins/awesome_nested_set/.autotest @@ -1,13 +1,13 @@ -Autotest.add_hook :initialize do |at|
- at.clear_mappings
-
- at.add_mapping %r%^lib/(.*)\.rb$% do |_, m|
- at.files_matching %r%^test/#{m[1]}_test.rb$%
- end
-
- at.add_mapping(%r%^test/.*\.rb$%) {|filename, _| filename }
-
- at.add_mapping %r%^test/fixtures/(.*)s.yml% do |_, _|
- at.files_matching %r%^test/.*\.rb$%
- end
+Autotest.add_hook :initialize do |at| + at.clear_mappings + + at.add_mapping %r%^lib/(.*)\.rb$% do |_, m| + at.files_matching %r%^test/#{m[1]}_test.rb$% + end + + at.add_mapping(%r%^test/.*\.rb$%) {|filename, _| filename } + + at.add_mapping %r%^test/fixtures/(.*)s.yml% do |_, _| + at.files_matching %r%^test/.*\.rb$% + end end
\ No newline at end of file |