Improve description_for

This commit is contained in:
Shinya Maeda 2017-06-27 00:55:20 +09:00
parent c215b10426
commit d1fae59743
1 changed files with 1 additions and 2 deletions

View File

@ -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|