summaryrefslogtreecommitdiff
path: root/spec/unit/puppet/type/anchor_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/puppet/type/anchor_spec.rb')
-rwxr-xr-x[-rw-r--r--]spec/unit/puppet/type/anchor_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/puppet/type/anchor_spec.rb b/spec/unit/puppet/type/anchor_spec.rb
index 2030b83..c738a27 100644..100755
--- a/spec/unit/puppet/type/anchor_spec.rb
+++ b/spec/unit/puppet/type/anchor_spec.rb
@@ -1,11 +1,11 @@
#!/usr/bin/env ruby
-require 'puppet'
+require 'spec_helper'
anchor = Puppet::Type.type(:anchor).new(:name => "ntp::begin")
describe anchor do
it "should stringify normally" do
- anchor.to_s.should == "Anchor[ntp::begin]"
+ expect(anchor.to_s).to eq("Anchor[ntp::begin]")
end
end