diff options
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 |