spec/unit/resource/status_spec.rb in puppet-2.7.26 vs spec/unit/resource/status_spec.rb in puppet-3.0.0.rc4
- old
+ new
@@ -1,6 +1,6 @@
-#!/usr/bin/env rspec
+#! /usr/bin/env ruby -S rspec
require 'spec_helper'
require 'puppet/resource/status'
describe Puppet::Resource::Status do
@@ -140,10 +140,10 @@
@status.out_of_sync_count.should == 3
@status.out_of_sync.should == true
end
end
- describe "When converting to YAML", :'fails_on_ruby_1.9.2' => true do
+ describe "When converting to YAML" do
it "should include only documented attributes" do
@status.file = "/foo.rb"
@status.line = 27
@status.evaluation_time = 2.7
@status.tags = %w{one two}