summaryrefslogtreecommitdiff
path: root/spec/unit/resource/breakpoint_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/resource/breakpoint_spec.rb')
-rw-r--r--spec/unit/resource/breakpoint_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/resource/breakpoint_spec.rb b/spec/unit/resource/breakpoint_spec.rb
index 0804c27cab..4b1aed6f8e 100644
--- a/spec/unit/resource/breakpoint_spec.rb
+++ b/spec/unit/resource/breakpoint_spec.rb
@@ -58,7 +58,7 @@ describe Chef::Resource::Breakpoint do
it "names itself after the line number of the file where it's created" do
resource = Chef::Resource::Breakpoint.new
- expect(resource.name).to match(/breakpoint_spec\.rb\:[\d]{2}\:in \`new\'$/)
+ expect(resource.name).to match(/breakpoint_spec\.rb\:\d{2}\:in \`new\'$/)
end
end