Sha256: 9f00bfefcee00ac078dc67d619985184bd48c7d7d5027dadd8e21bf2d3296a54
Contents?: true
Size: 660 Bytes
Versions: 18
Compression:
Stored size: 660 Bytes
Contents
# encoding: utf-8 # You can place files in "<%= lookup('example_directory') %>" and require them here. # # File "file.rb" in "<%= lookup('example_directory') %>" becomes # # require 'examples/file' # # in your spec. # describe '<%= lookup('description') %>' do <% Array(lookup('proxies')).each do |p| -%> context '<%= p[:host] %>:<%= p[:port] %>' do before :each do use_proxy host: '<%= p[:host] %>', port: <%= p[:port] %> end <% Array(lookup('urls')).each do |url| -%> it 'works with <%= url[:uri] %>' do visit '<%= url[:uri] %>' expect(page).to have_content('<%= url[:content] %>') end <% end -%> end <% end -%> end
Version data entries
18 entries across 18 versions & 1 rubygems