diff options
| author | Matt Robinson <matt@puppetlabs.com> | 2011-05-16 16:10:21 -0700 |
|---|---|---|
| committer | Matt Robinson <matt@puppetlabs.com> | 2011-05-17 09:57:26 -0700 |
| commit | 9da1454e71b8330e929ac5616eefa44388c90832 (patch) | |
| tree | 8055105961771b9b95a4b888c0599b26000603d6 /spec/unit/resource | |
| parent | 47e4ac948504aa6fbd3487ca1b1e19f3c8884a79 (diff) | |
| download | puppet-9da1454e71b8330e929ac5616eefa44388c90832.tar.gz puppet-9da1454e71b8330e929ac5616eefa44388c90832.tar.xz puppet-9da1454e71b8330e929ac5616eefa44388c90832.zip | |
(#7507) Add ability to filter Ruby 1.9 spec failures
By running:
rspec spec --tag ~@fails_on_ruby_1.9.2
We can now just run the specs that pass under Ruby 1.9. Obviously in
the long term we want to have all the specs passing, but until then we
need notification when we regress. From now on new code will be
required to pass under Ruby 1.9, and Jenkins will give us email
notification if it doesn't or if we break something that was already
working.
Reviewed-by: Daniel Pittman <daniel@puppetlabs.com>
Diffstat (limited to 'spec/unit/resource')
| -rwxr-xr-x | spec/unit/resource/status_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/resource/status_spec.rb b/spec/unit/resource/status_spec.rb index bb88518c0..e5a9291db 100755 --- a/spec/unit/resource/status_spec.rb +++ b/spec/unit/resource/status_spec.rb @@ -140,7 +140,7 @@ describe Puppet::Resource::Status do end end - describe "When converting to YAML" do + describe "When converting to YAML", :'fails_on_ruby_1.9.2' => true do it "should include only documented attributes" do @status.file = "/foo.rb" @status.line = 27 |
