Skip to content

Commit

Permalink
Update specs to include changes from #221 (#228)
Browse files Browse the repository at this point in the history
This was missed in #224.
  • Loading branch information
sds authored Feb 17, 2022
1 parent 66e01ce commit cb58c8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/commands/expire_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion spec/commands/pexpire_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit cb58c8e

Please sign in to comment.