2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-07 12:02:53 +08:00

add support for controller tests

This commit is contained in:
Sam 2017-05-30 17:32:28 -04:00
parent 76aa651ad4
commit 435d4d51a4

View file

@ -156,6 +156,9 @@ module Autospec
if m = /acceptance\(['"]([^"']+)/i.match(line) if m = /acceptance\(['"]([^"']+)/i.match(line)
return "Acceptance: #{m[1]}" return "Acceptance: #{m[1]}"
end end
if m = /moduleFor\(['"]([^'"]+)/i.match(line)
return m[1]
end
end end
end end