From 6f22014650d0c58421767c67d44bd8da4589c020 Mon Sep 17 00:00:00 2001 From: "M. Simon Borg" Date: Wed, 10 May 2017 08:49:15 -0400 Subject: [PATCH] splat args in SetupAssociation test --- tests/spec/setup_association_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/spec/setup_association_spec.rb b/tests/spec/setup_association_spec.rb index 644ddc3..93870da 100644 --- a/tests/spec/setup_association_spec.rb +++ b/tests/spec/setup_association_spec.rb @@ -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