summaryrefslogtreecommitdiff
path: root/spec/functions/strftime_spec.rb
diff options
context:
space:
mode:
authortphoney <tp@puppet.com>2017-07-14 10:14:04 +0100
committertphoney <tp@puppet.com>2017-07-14 10:42:10 +0100
commit33922a4ec7a8c204a17e0c3017eea21faa220f39 (patch)
tree069c400254276e50176e5b11140c77f831590879 /spec/functions/strftime_spec.rb
parent01d3004f0a6a1c662aea90edd5b1524139706c61 (diff)
FM-6239 clean up for puppet 5.tests/deprecation
Diffstat (limited to 'spec/functions/strftime_spec.rb')
-rwxr-xr-xspec/functions/strftime_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/functions/strftime_spec.rb b/spec/functions/strftime_spec.rb
index e76774a..41cda6a 100755
--- a/spec/functions/strftime_spec.rb
+++ b/spec/functions/strftime_spec.rb
@@ -14,9 +14,9 @@ describe 'strftime' do
expect(result.to_i).to(be > 1311953157)
end
- it "using %s should be lower then 1.5 trillion" do
+ it "using %s should be greater than 1.5 trillion" do
result = scope.function_strftime(["%s"])
- expect(result.to_i).to(be < 1500000000)
+ expect(result.to_i).to(be > 1500000000)
end
it "should return a date when given %Y-%m-%d" do