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:
parent
76aa651ad4
commit
435d4d51a4
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue