Add "registrar_with_unlimited_balance" factory

#248
This commit is contained in:
Artur Beljajev 2017-01-08 21:45:47 +02:00
parent 596cb8f55d
commit a1bdfa8df4
3 changed files with 13 additions and 1 deletions

View file

@ -3,7 +3,7 @@ require 'rails_helper'
RSpec.feature 'CSV Export' do
background do
Setting.registrar_ip_whitelist_enabled = false
sign_in_to_registrar_area(user: FactoryGirl.create(:api_user))
sign_in_to_registrar_area(user: create(:api_user_with_unlimited_balance))
end
scenario 'exports csv' do