From cb58c8e4d2831b3c39a5fe194cc14f3fa46a0daf Mon Sep 17 00:00:00 2001 From: Shane da Silva Date: Thu, 17 Feb 2022 10:44:12 -0600 Subject: [PATCH] Update specs to include changes from #221 (#228) This was missed in #224. --- spec/commands/expire_spec.rb | 2 +- spec/commands/pexpire_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/commands/expire_spec.rb b/spec/commands/expire_spec.rb index 90e38223..7019e9ae 100644 --- a/spec/commands/expire_spec.rb +++ b/spec/commands/expire_spec.rb @@ -21,7 +21,7 @@ it 'raises an error if seconds is bogus' do lambda do - @redises.expireat(@key, 'a couple minutes or so') + @redises.expire(@key, 'a couple minutes or so') end.should raise_error(Redis::CommandError) end diff --git a/spec/commands/pexpire_spec.rb b/spec/commands/pexpire_spec.rb index 9ac4e0ea..ad0a3e45 100644 --- a/spec/commands/pexpire_spec.rb +++ b/spec/commands/pexpire_spec.rb @@ -21,7 +21,7 @@ it 'raises an error if ms is bogus' do lambda do - @redises.pexpireat(@key, 'a couple minutes or so') + @redises.pexpire(@key, 'a couple minutes or so') end.should raise_error(Redis::CommandError) end