Uploaded image for project: 'Archive of Our Own'
  1. AO3-4771

Extend tests for collection_participants_controller

    Details

    • Type: Improvement
    • Status: Deployed
    • Priority: Medium
    • Resolution: DeployedToBeta
    • Affects Version/s: 0.9.168
    • Fix Version/s: 0.9.175
    • Milestone:
      Internal 0.9
    • Difficulty:
      Medium
    • Components:
      AutomatedTests

      Description

      collection_participants_controller currently has 56.96% test coverage on Coveralls:
      https://coveralls.io/builds/9223400/source?filename=app%2Fcontrollers%2Fcollection_participants_controller.rb
      We'd like to increase that, with an ultimate goal of 90% or greater.
      How to test:
      Use Coveralls to confirm that the coverage percentage has increased:
      1. Go to https://coveralls.io/github/otwcode/otwarchive?branch=master
      2. In the "Search" field near the "Source Files on Master" heading, enter the name of the controller: admin/api_controller.rb
      3. Note the number in the "Coverage" column of the table
      Notes:
      If you want to see the admin interface while working on the test, you can create an admin account on Vagrant by running:
      RAILS_ENV=development bundle exec rails runner script/create_admin.rb

        Attachments

          Activity

            People

            • Assignee:
              potatoesque potatoesque
              Reporter:
              potatoesque potatoesque
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: