summaryrefslogtreecommitdiffstats
path: root/spec/unit/provider/zpool
diff options
context:
space:
mode:
authorMatt Robinson <matt@puppetlabs.com>2011-05-16 16:10:21 -0700
committerMatt Robinson <matt@puppetlabs.com>2011-05-17 09:57:26 -0700
commit9da1454e71b8330e929ac5616eefa44388c90832 (patch)
tree8055105961771b9b95a4b888c0599b26000603d6 /spec/unit/provider/zpool
parent47e4ac948504aa6fbd3487ca1b1e19f3c8884a79 (diff)
downloadpuppet-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/provider/zpool')
-rwxr-xr-xspec/unit/provider/zpool/solaris_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/provider/zpool/solaris_spec.rb b/spec/unit/provider/zpool/solaris_spec.rb
index 7e3048a7a..39ee9c9ba 100755
--- a/spec/unit/provider/zpool/solaris_spec.rb
+++ b/spec/unit/provider/zpool/solaris_spec.rb
@@ -150,7 +150,7 @@ describe provider_class do
end
end
- describe "when calling create" do
+ describe "when calling create", :'fails_on_ruby_1.9.2' => true do
before do
@resource.stubs(:[]).with(:pool).returns("mypool")
@provider.stubs(:zpool)