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

Extend tests for owned_tag_sets_controller.rb

    Details

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

      Description

      owned_tag_sets_controller currently has 75.56% test coverage on Coveralls:
      https://coveralls.io/builds/9226081/source?filename=app%2Fcontrollers%2Fowned_tag_sets_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
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: