diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb index cb09a1c..50444db 100644 --- a/spec/rails_helper.rb +++ b/spec/rails_helper.rb @@ -60,4 +60,5 @@ end config.use_transactional_fixtures = false config.filter_rails_from_backtrace! + config.infer_spec_type_from_file_location! end diff --git a/spec/system/institution_catalog_spec.rb b/spec/system/institution_catalog_spec.rb index 56a8668..91c6da8 100644 --- a/spec/system/institution_catalog_spec.rb +++ b/spec/system/institution_catalog_spec.rb @@ -1,6 +1,6 @@ require 'rails_helper' -RSpec.describe 'View Institution Catalog', type: :system do +RSpec.describe 'View Institution Catalog' do before do visit '/' end diff --git a/spec/system/public_record_spec.rb b/spec/system/public_record_spec.rb index 28de27c..c4a64b8 100644 --- a/spec/system/public_record_spec.rb +++ b/spec/system/public_record_spec.rb @@ -1,7 +1,7 @@ require 'rails_helper' require_relative '../support/shared_examples/link_spec' -RSpec.describe 'View Search Reslut', type: :system do +RSpec.describe 'View Search Reslut' do before do visit 'catalog/berkeley-s7038h' end diff --git a/spec/system/restrict_record_spec.rb b/spec/system/restrict_record_spec.rb index 38fb4c6..87a5143 100644 --- a/spec/system/restrict_record_spec.rb +++ b/spec/system/restrict_record_spec.rb @@ -1,6 +1,6 @@ require 'rails_helper' -RSpec.describe 'View Restricted Data', type: :system do +RSpec.describe 'View Restricted Data' do let(:app_hostname) { IPSocket.getaddress(Socket.gethostname) } let(:cas_url) { "/cas/login?service=http://#{app_hostname}:3000/users/auth/calnet/callback?url=http://#{app_hostname}:3000/catalog/berkeley-s7b12n" } before do