From 31349ed3aea3fce54ac6ef03c85fbb0c63aac8c8 Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Tue, 25 Jan 2022 13:45:15 +0000 Subject: [PATCH] Remove example system spec --- spec/system/first_system_spec.rb | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 spec/system/first_system_spec.rb diff --git a/spec/system/first_system_spec.rb b/spec/system/first_system_spec.rb deleted file mode 100644 index 4f385fc627..0000000000 --- a/spec/system/first_system_spec.rb +++ /dev/null @@ -1,23 +0,0 @@ -# frozen_string_literal: true - -require "system_helper" - -describe "Visit Admin" do - include UIComponentHelper - include AuthenticationHelper - include WebHelper - let(:user) { create(:user, password: "password", password_confirmation: "password") } - let!(:enterprise) { create(:enterprise, owner: user) } # Required for access to admin - - scenario "logging into admin redirects home, then back to admin" do - visit spree.admin_dashboard_path - - fill_in "Email", with: user.email - fill_in "Password", with: user.password - - click_login_button - expect(page).to have_content "DASHBOARD" - expect(page).to have_current_path spree.admin_dashboard_path - expect(page).to have_no_content "CONFIGURATION" - end -end