diff --git a/app/models/user.rb b/app/models/user.rb index 8ed1b48..b70c4ab 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -59,7 +59,7 @@ class User < ActiveRecord::Base def balance @balance || begin if Rails.env.test? - nil + 12345 else headers = { "Authorization" => "Token token=#{Rails.application.secrets.tab_api_key}",