Skip to content

Commit d4d146e

Browse files
fix broken string interpolation in spec helper raise name error'
1 parent 6b8c148 commit d4d146e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/spec_helper.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ def get_variable_from_file(file, variable)
1111
begin
1212
return file_scope.local_variable_get(variable)
1313
rescue NameError
14-
raise NameError, "local variable `#{variable}' not defined in #{file}."
14+
raise NameError, "local variable `#{variable}` not defined in #{file}."
1515
end
1616
end

0 commit comments

Comments
 (0)