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-xspec/unit/puppet/type/anchor_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/puppet/type/anchor_spec.rb b/spec/unit/puppet/type/anchor_spec.rb
index f92065f..c738a27 100755
--- a/spec/unit/puppet/type/anchor_spec.rb
+++ b/spec/unit/puppet/type/anchor_spec.rb
@@ -6,6 +6,6 @@ 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