mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 08:54:54 +08: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