update gems, fix warning about must_equal nil test

This commit is contained in:
Kyle Drake 2017-05-22 18:10:26 -07:00
parent 8a4fcd3d44
commit 4d397df015
2 changed files with 12 additions and 12 deletions

View file

@ -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}"