Improve description_for
This commit is contained in:
parent
c215b10426
commit
d1fae59743
|
@ -47,8 +47,7 @@ module AccessMatchersForController
|
|||
end
|
||||
|
||||
def description_for(role, type, expected, result)
|
||||
"be #{type} for #{role}." \
|
||||
" Expected: #{expected.join(',')} Got: #{result}"
|
||||
"be #{type} for #{role}. Expected: #{expected.join(',')} Got: #{result}"
|
||||
end
|
||||
|
||||
matcher :be_allowed_for do |role|
|
||||
|
|
Loading…
Reference in New Issue