summaryrefslogtreecommitdiff
path: root/spec/functions/strftime_spec.rb
diff options
context:
space:
mode:
authorPaula McMaw <paula@puppet.com>2017-07-14 11:37:32 +0100
committerGitHub <noreply@github.com>2017-07-14 11:37:32 +0100
commit741a740502a37852f58b31856f8f5c1efd9ae458 (patch)
tree069c400254276e50176e5b11140c77f831590879 /spec/functions/strftime_spec.rb
parent54d4937c5b2d8918ee9f89f728c0c29e0d9e774f (diff)
parent33922a4ec7a8c204a17e0c3017eea21faa220f39 (diff)
Merge pull request #793 from tphoney/FM-6239
(FM-6239) rewrite of test following std patterns
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