Skip to content

Commit b082094

Browse files
committed
Merge pull request puppetlabs#28 from kbarber/ticket/2.2.x/11873-time_spec_failure
(#11873) time function spec failure on Fixnum matcher
2 parents 1370c64 + 7d545f0 commit b082094

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/unit/puppet/parser/functions/time_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
it "should return a number" do
2222
result = @scope.function_time([])
23-
result.class.should(eq(Fixnum))
23+
result.should be_an(Integer)
2424
end
2525

2626
it "should be higher then when I wrote this test" do

0 commit comments

Comments
 (0)