Skip to content

Commit

Permalink
use spec type config
Browse files Browse the repository at this point in the history
  • Loading branch information
yzhoubk committed Jan 7, 2025
1 parent f6ead42 commit 67c86fb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions spec/rails_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,5 @@
end
config.use_transactional_fixtures = false
config.filter_rails_from_backtrace!
config.infer_spec_type_from_file_location!
end
2 changes: 1 addition & 1 deletion spec/system/institution_catalog_spec.rb
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion spec/system/public_record_spec.rb
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion spec/system/restrict_record_spec.rb
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 67c86fb

Please sign in to comment.