Commit d0d55b87d1bbc336036090b5048e22e51f2f5401
1 parent
9f4717ef
Exists in
master
and in
29 other branches
comment_classification_plugin: fix indentation and require
Showing
2 changed files
with
4 additions
and
2 deletions
Show diff stats
lib/tasks/plugins_tests.rake
@@ -134,9 +134,9 @@ end | @@ -134,9 +134,9 @@ end | ||
134 | def run_tests(name, plugins, run=:all) | 134 | def run_tests(name, plugins, run=:all) |
135 | plugins = Array(plugins) | 135 | plugins = Array(plugins) |
136 | if name == :cucumber || name == :selenium | 136 | if name == :cucumber || name == :selenium |
137 | - glob = "plugins/{#{plugins.join(',')}}/#{task2folder(name)}/**/*.#{task2ext(name)}" | 137 | + glob = "plugins/{#{plugins.join(',')}}/#{task2folder(name)}/**/*.#{task2ext(name)}" |
138 | else | 138 | else |
139 | - glob = "plugins/{#{plugins.join(',')}}/test/#{task2folder(name)}/**/*.#{task2ext(name)}" | 139 | + glob = "plugins/{#{plugins.join(',')}}/test/#{task2folder(name)}/**/*.#{task2ext(name)}" |
140 | end | 140 | end |
141 | files = Dir.glob(glob) | 141 | files = Dir.glob(glob) |
142 | if files.empty? | 142 | if files.empty? |
plugins/comment_classification/lib/comment_classification_plugin.rb