Fixes circular argument reference in Ruby >=2.2

Change-Id: I114611a228b8499a86dff48726fba32b8ad06e99
This commit is contained in:
Brandon Weeks 2016-02-09 12:50:58 -08:00
parent 9b9de929f2
commit a9f20b38f9

View File

@ -42,7 +42,7 @@ describe provider_class do
:path => tmpfile,
} }
def validate(expected, tmpfile = tmpfile)
def validate(expected)
expect(File.read(tmpfile)).to eq(expected)
end