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

Extended tests for controllers/series_controller.rb

    Details

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

      Description

      controllers/series_controller.rb currently has 64.58% test coverage on Coveralls:
      https://coveralls.io/builds/9226081/source?filename=app%2Fcontrollers%2Finvite_requests_controller.rb

      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: controllers/series_controller.rb
      3. Note the number in the "Coverage" column of the table

      notes from sarken: Specifically, testing the webpage `<title>` on a pseud's series page (e.g. http://test.archiveofourown.org/users/testy/pseuds/testy/series) and testing the "Remove Me As Author" button on co-authored series
      https://coveralls.io/builds/9311338/source?filename=app%2Fcontrollers%2Fseries_controller.rb is the controller on Coveralls -- the lines I'm talking about are 31-32 for the page title and 74 and 78-81 for the removing yourself as author
      

        Attachments

          Activity

            People

            • Assignee:
              dolleye cosette
              Reporter:
              dolleye cosette
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: