If you're going to use special characters in a file and use Ruby 1.9 you need to specify the character encoding at the top of the file.
Reviewed-by: Daniel Pittman <dan...@puppetlabs.com> Signed-off-by: Matt Robinson <m...@puppetlabs.com> --- Local-branch: ticket/next/6830-more_ruby19_fixes .../things_that_declare_options.rb | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/spec/shared_behaviours/things_that_declare_options.rb b/spec/shared_behaviours/things_that_declare_options.rb index f7512de..ac358ea 100755 --- a/spec/shared_behaviours/things_that_declare_options.rb +++ b/spec/shared_behaviours/things_that_declare_options.rb @@ -1,3 +1,4 @@ +# encoding: UTF-8 shared_examples_for "things that declare options" do it "should support options without arguments" do subject = add_options_to { option "--bar" } -- 1.7.3.1 -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to puppet-dev@googlegroups.com. To unsubscribe from this group, send email to puppet-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en.