diff options
author | Noah Silvera <noah@super.gd> | 2021-06-02 15:03:45 -0700 |
---|---|---|
committer | Noah Silvera <noah@super.gd> | 2021-06-02 15:03:45 -0700 |
commit | 9086eb8b1ea2f97bd40012d92e1f67c5a1b361d2 (patch) | |
tree | 3e5b7b98ccd3abb6bf4cab3570e5f846668a24f2 /spec/features/spree/admin/taxjar_settings_spec.rb | |
parent | 676adfa988317ef15ee412f230e1431648774ff4 (diff) |
Diffstat (limited to 'spec/features/spree/admin/taxjar_settings_spec.rb')
-rw-r--r-- | spec/features/spree/admin/taxjar_settings_spec.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/spec/features/spree/admin/taxjar_settings_spec.rb b/spec/features/spree/admin/taxjar_settings_spec.rb index ae2e101..f81fa69 100644 --- a/spec/features/spree/admin/taxjar_settings_spec.rb +++ b/spec/features/spree/admin/taxjar_settings_spec.rb @@ -17,13 +17,16 @@ RSpec.feature 'Admin TaxJar Settings', js: true do let(:api_token) { "token" } it "shows a blank settings page" do - visit "/admin" click_on "Settings" expect(page).to have_content("Taxes") click_on "Taxes" expect(page).to have_content("TaxJar Settings") click_on "TaxJar Settings" + # expect(page).to have_content "Settings / Taxes / TaxJar Settings" + within(:css, "[data-hook=\"admin_settings_sub_tabs\"]") do + expect(page).to have_content("Taxes") + end expect(page).not_to have_content "You must provide a TaxJar API token" end end |