antonmi / espec_phoenix

ESpec for Phoenix web framework.
MIT License
137 stars 33 forks source link

Fix warnings on Elixir 1.4 #46

Closed brain-geek closed 7 years ago

brain-geek commented 7 years ago

Though there are a lot of other warnings for now with Elixir 1.4, this PR fixes the most obvious ones:

warning: variable "patch_espec_config" does not exist and is being expanded to "patch_espec_config()", please use parentheses to remove the ambiguity or change the variable name
  lib/mix/tasks/init.ex:27

warning: variable "espec_helper_patch_text" does not exist and is being expanded to "espec_helper_patch_text()", please use parentheses to remove the ambiguity or change the variable name
  lib/mix/tasks/init.ex:36
antonmi commented 7 years ago

Thanks, @brain-geek !