mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 11:44:49 +08:00
add support for controller tests
This commit is contained in:
parent
76aa651ad4
commit
435d4d51a4
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user