Sha256: 5daec27b6ced5d1259d2a98c1a7221be0f7c6a7462cf9468da3ee6493efd1c61

Contents?: true

Size: 401 Bytes

Versions: 10

Compression:

Stored size: 401 Bytes

Contents

Then /^I should see all the Braintree countries in the country select with the following at the top:$/ do |table|
  divider = "---"
  top_country_names = table.raw.flatten
  all_country_names = Braintree::Address::CountryNames.map(&:first)

  expected_country_names = [top_country_names, divider, all_country_names].flatten
  page.should have_select("Country", :options => expected_country_names)
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
saucy-0.16.1 features/step_definitions/engine/country_steps.rb
saucy-0.16.0 features/step_definitions/engine/country_steps.rb
saucy-0.15.2 lib/generators/saucy/features/templates/step_definitions/country_steps.rb
saucy-0.15.1 lib/generators/saucy/features/templates/step_definitions/country_steps.rb
saucy-0.15.0 lib/generators/saucy/features/templates/step_definitions/country_steps.rb
saucy-0.14.5 lib/generators/saucy/features/templates/step_definitions/country_steps.rb
saucy-0.14.3 lib/generators/saucy/features/templates/step_definitions/country_steps.rb
saucy-0.14.2 lib/generators/saucy/features/templates/step_definitions/country_steps.rb
saucy-0.14.1 lib/generators/saucy/features/templates/step_definitions/country_steps.rb
saucy-0.14.0 lib/generators/saucy/features/templates/step_definitions/country_steps.rb