Skip to content

Instantly share code, notes, and snippets.

@richardc
Created June 20, 2013 21:28
Show Gist options
  • Select an option

  • Save richardc/5826812 to your computer and use it in GitHub Desktop.

Select an option

Save richardc/5826812 to your computer and use it in GitHub Desktop.
2) java select Oracle JRE for Debian Wheezy
Failure/Error: it { should contain_file('/tmp/test').with_content('Using package: oracle-j2re1.7, alterntative j2re1.7-oracle, alt_path /usr/lib/jvm/j2re1.7-oracle/bin/java') }
expected that the catalogue would contain File[/tmp/test] with content set to `"Using package: oracle-j2re1.7, alterntative j2re1.7-oracle, alt_path /usr/lib/jvm/j2re1.7-oracle/bin/java"` but it is set to `"Using package: oracle-j2re1.7, alterntative , alt_path "` in the catalogue
# ./spec/classes/java_spec.rb:41:in `block (3 levels) in <top (required)>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment