diff --git a/spec/system/institution_catalog_spec.rb b/spec/system/institution_berkeley_spec.rb similarity index 94% rename from spec/system/institution_catalog_spec.rb rename to spec/system/institution_berkeley_spec.rb index 91c6da8..225cd08 100644 --- a/spec/system/institution_catalog_spec.rb +++ b/spec/system/institution_berkeley_spec.rb @@ -18,7 +18,7 @@ click_link('University of California Berkeley') end - it 'display record number' do + it 'display total record number bigger than 3' do expect(find('.page-entries')) total_record_num = find('.page-entries').text.split[-1].strip.to_i diff --git a/spec/system/public_record_spec.rb b/spec/system/public_result_spec.rb similarity index 100% rename from spec/system/public_record_spec.rb rename to spec/system/public_result_spec.rb diff --git a/spec/system/restrict_record_spec.rb b/spec/system/restricted_access_spec.rb similarity index 90% rename from spec/system/restrict_record_spec.rb rename to spec/system/restricted_access_spec.rb index 87a5143..1858f86 100644 --- a/spec/system/restrict_record_spec.rb +++ b/spec/system/restricted_access_spec.rb @@ -11,7 +11,7 @@ expect(page).to have_link('Login to View and Download') end - it 'clicking login to view and download link' do + it 'open calnet login page when clicking login to view and download link' do find('.btn.btn-default').click raw_url = page.current_url uri = URI.parse(raw_url)