summaryrefslogtreecommitdiff
path: root/spec/unit/puppet/parser
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/puppet/parser')
-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