spec/rest/subusers/subusers_spec.rb in sendgrid4r-1.2.1 vs spec/rest/subusers/subusers_spec.rb in sendgrid4r-1.3.0
- old
+ new
@@ -9,10 +9,10 @@
@client = SendGrid4r::Client.new(api_key: ENV['SILVER_API_KEY'])
@username1 = ENV['SUBUSER1']
@username2 = ENV['SUBUSER2']
@username3 = ENV['SUBUSER3']
@email1 = ENV['MAIL']
- @password1 = ENV['PASS']
+ @password1 = ENV['PASS']
@ip = @client.get_ips[0].ip
# celan up test env
subusers = @client.get_subusers
count1 = subusers.count { |subuser| subuser.username == @username1 }
@client.delete_subuser(username: @username1) unless count1 == 0