2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +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)
return "Acceptance: #{m[1]}"
end
if m = /moduleFor\(['"]([^'"]+)/i.match(line)
return m[1]
end
end
end