Skip to content
This repository has been archived by the owner on Jan 8, 2022. It is now read-only.

Commit

Permalink
Merge pull request #233 from sul-dlss/remove
Browse files Browse the repository at this point in the history
Remove old password helpers.
  • Loading branch information
mjgiarlo committed Dec 12, 2018
2 parents 2b3bfd6 + fd83b0a commit 6b94de9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 31 deletions.
17 changes: 0 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,23 +48,6 @@ rails server
* Fedora objects - [http://localhost:8983/fedora/objects](http://localhost:8983/fedora/objects)
* Solr - [http://localhost:8984/solr](http://localhost:8984/solr)

## User accounts used during development

Default user:

username: archivist1@example.com
password: beatcal

Fedora admin user:

username: fedoraAdmin
password: fedoraAdmin

Also see:

app/models/hydrus/authorizable.rb
test/fixtures/users.yml

## Running tests

```bash
Expand Down
14 changes: 0 additions & 14 deletions spec/support/helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,6 @@ def noko_doc(x)
Nokogiri.XML(x) { |conf| conf.default_xml.noblanks }
end

def login_pw
'beatcal'
end

def login_as(email, password = nil)
password ||= login_pw
email += '@example.com' unless email.include?('@')
logout
visit new_user_session_path
fill_in 'Email', with: email
fill_in 'Password', with: password
click_button 'Sign in'
end

def logout
visit destroy_user_session_path
end
Expand Down

0 comments on commit 6b94de9

Please sign in to comment.