summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Pittman <daniel@rimspace.net>2012-01-10 11:01:32 -0800
committerDaniel Pittman <daniel@rimspace.net>2012-01-10 11:01:32 -0800
commitb082094599f4cd26c9cb0c67ae44880b0dc02407 (patch)
tree07fb3d36b83855dc1273616d821370329c9e14f6
parent1370c64df9c00f7627f9ddd758d8bbdb5a36d03e (diff)
parent7d545f0d600d259229eee27ae4be373e814e5dfe (diff)
downloadpuppet-stdlib-b082094599f4cd26c9cb0c67ae44880b0dc02407.tar.gz
puppet-stdlib-b082094599f4cd26c9cb0c67ae44880b0dc02407.tar.bz2
Merge pull request #28 from kbarber/ticket/2.2.x/11873-time_spec_failure
(#11873) time function spec failure on Fixnum matcher
-rw-r--r--spec/unit/puppet/parser/functions/time_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/puppet/parser/functions/time_spec.rb b/spec/unit/puppet/parser/functions/time_spec.rb
index 666e8e0..5d6cd97 100644
--- a/spec/unit/puppet/parser/functions/time_spec.rb
+++ b/spec/unit/puppet/parser/functions/time_spec.rb
@@ -20,7 +20,7 @@ describe "the time function" do
it "should return a number" do
result = @scope.function_time([])
- result.class.should(eq(Fixnum))
+ result.should be_an(Integer)
end
it "should be higher then when I wrote this test" do