Sha256: 6c136fa22861ca7171ae14f12e26d30ad50ed43fdc130c0a290a6e9c1e0ad6c3

Contents?: true

Size: 480 Bytes

Versions: 32

Compression:

Stored size: 480 Bytes

Contents

require 'spec_helper'

module Spree
  describe "Countries", type: :feature do
    stub_authorization!

    it "deletes a country", js: true do
      visit spree.admin_countries_path
      click_link "New Country"

      fill_in "Name", with: "Brazil"
      fill_in "ISO Name", with: "BRL"
      click_button "Create"

      accept_alert do
        click_icon :trash
      end

      expect(page).to have_content 'Country "Brazil" has been successfully removed!'
    end
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
solidus_backend-2.3.1 spec/features/admin/configuration/countries_spec.rb
solidus_backend-2.2.2 spec/features/admin/configuration/countries_spec.rb
solidus_backend-2.1.1 spec/features/admin/configuration/countries_spec.rb
solidus_backend-2.0.3 spec/features/admin/configuration/countries_spec.rb
solidus_backend-1.4.2 spec/features/admin/configuration/countries_spec.rb
solidus_backend-1.3.2 spec/features/admin/configuration/countries_spec.rb
solidus_backend-2.3.0 spec/features/admin/configuration/countries_spec.rb
solidus_backend-2.3.0.rc3 spec/features/admin/configuration/countries_spec.rb
solidus_backend-2.3.0.rc2 spec/features/admin/configuration/countries_spec.rb
solidus_backend-2.3.0.rc1 spec/features/admin/configuration/countries_spec.rb
solidus_backend-2.3.0.beta1 spec/features/admin/configuration/countries_spec.rb
solidus_backend-2.0.2 spec/features/admin/configuration/countries_spec.rb
solidus_backend-1.4.1 spec/features/admin/configuration/countries_spec.rb
solidus_backend-2.2.1 spec/features/admin/configuration/countries_spec.rb
solidus_backend-2.2.0 spec/features/admin/configuration/countries_spec.rb
solidus_backend-2.2.0.rc1 spec/features/admin/configuration/countries_spec.rb
solidus_backend-2.2.0.beta1 spec/features/admin/configuration/countries_spec.rb
solidus_backend-2.1.0 spec/features/admin/configuration/countries_spec.rb
solidus_backend-2.1.0.rc1 spec/features/admin/configuration/countries_spec.rb
solidus_backend-2.0.1 spec/features/admin/configuration/countries_spec.rb