mirror of
https://github.com/neocities/neocities.git
synced 2025-08-03 00:02:00 +02:00
update gems, fix warning about must_equal nil test
This commit is contained in:
parent
8a4fcd3d44
commit
4d397df015
2 changed files with 12 additions and 12 deletions
|
@ -263,7 +263,7 @@ describe 'api upload' do
|
|||
|
||||
it 'succeeds with valid api key' do
|
||||
create_site
|
||||
@site.api_key.must_equal nil
|
||||
@site.api_key.must_be_nil
|
||||
@site.generate_api_key!
|
||||
@site.reload.api_key.wont_equal nil
|
||||
header 'Authorization', "Bearer #{@site.api_key}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue