splat args in SetupAssociation test

This commit is contained in:
M. Simon Borg 2017-05-10 08:49:15 -04:00
parent 800c24ec64
commit 6f22014650
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ module Impressionist
# expects attr_accessible to return true
# and pass 12 arguments
mock.
expect(:attr_accessible, true) do |args|
expect(:attr_accessible, true) do |*args|
args.size == 12
end