Sha256: ee81d2297eca76ae3b65c8491b52bc4f8f89ad906809038fb0e13dc7f1a6fb16

Contents?: true

Size: 366 Bytes

Versions: 19

Compression:

Stored size: 366 Bytes

Contents

module ProxiesHelper
  def create_proxy_using_partial(*users)
    users.each do |user|
      first('a.select2-choice').click
      find(".select2-input").set(user.user_key)
      expect(page).to have_css("div.select2-result-label")
      first("div.select2-result-label").click
    end
  end

  RSpec.configure do |config|
    config.include ProxiesHelper
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
sufia-6.7.0 spec/support/proxies.rb
sufia-6.6.1 spec/support/proxies.rb
sufia-6.6.0 spec/support/proxies.rb
sufia-6.5.0 spec/support/proxies.rb
sufia-6.4.0 spec/support/proxies.rb
sufia-6.3.0 spec/support/proxies.rb
sufia-6.2.0 spec/support/proxies.rb
sufia-6.1.0 spec/support/proxies.rb
sufia-5.0.0 spec/support/proxies.rb
sufia-6.0.0 spec/support/proxies.rb
sufia-6.0.0.rc4 spec/support/proxies.rb
sufia-6.0.0.rc3 spec/support/proxies.rb
sufia-5.0.0.rc1 spec/support/proxies.rb
sufia-6.0.0.rc2 spec/support/proxies.rb
sufia-6.0.0.rc1 spec/support/proxies.rb
sufia-4.3.1 spec/support/proxies.rb
sufia-6.0.0.beta1 spec/support/proxies.rb
sufia-4.2.0 spec/support/proxies.rb
sufia-4.1.0 spec/support/proxies.rb