mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
add support for controller tests
This commit is contained in:
@@ -156,6 +156,9 @@ module Autospec
|
||||
if m = /acceptance\(['"]([^"']+)/i.match(line)
|
||||
return "Acceptance: #{m[1]}"
|
||||
end
|
||||
if m = /moduleFor\(['"]([^'"]+)/i.match(line)
|
||||
return m[1]
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user