Sha256: bf2e7572dcb1359c9ebb529469696a04a2ac8641082fd7b6f9d7d3bccd717487
Contents?: true
Size: 487 Bytes
Versions: 16
Compression:
Stored size: 487 Bytes
Contents
require 'spec_helper' module Spree describe "Countries", type: :feature do stub_authorization! it "deletes a state", 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 :delete end wait_for_ajax expect { Country.find(country.id) }.to raise_error(StandardError) end end end
Version data entries
16 entries across 16 versions & 1 rubygems