Skip to content

Commit

Permalink
fix broken string interpolation in spec helper raise name error'
Browse files Browse the repository at this point in the history
  • Loading branch information
SophieDeBenedetto committed May 10, 2016
1 parent 6b8c148 commit d4d146e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ def get_variable_from_file(file, variable)
begin
return file_scope.local_variable_get(variable)
rescue NameError
raise NameError, "local variable `#{variable}' not defined in #{file}."
raise NameError, "local variable `#{variable}` not defined in #{file}."
end
end

0 comments on commit d4d146e

Please sign in to comment.