Update generator_spec

Trying to fix the error that was hapenning in the tests in ruby 1.9.2:

  NoMethodError: undefined method `expand_path' for
    GeneratorSpec::Matcher::File:Class