2.2.2 Assigning an issue

Optionally, start a conversation around the proposed approach (and/or) any questions that you need answers for.

2.2.3 Fixing the issue

As a demonstration, let us assume a use case of changing the case of one of the header links, namely PIPELINES. The task at hand would be,

As a user
I would like to change the case of the header link, i.e., PIPELINES to pipelines
So that I can demonstrate how to make changes in GoCD.

Below are a set of steps that one would follow to achieve this

Use an IDE to open the codebase. In our case, we use IntelliJ IDEA Community.

Locate the rspec file for the intended change. In our case, the header links are present in a file at server/webapp/WEB-INF/rails/app/views/shared/_application_nav.html.erb. By the convention that GoCD follows, the equivalent rspec for the views are present under server/webapp/WEB-INF/rails/spec/views/shared/_application_nav_html_spec.rb

Identify the spec which tests this behaviour, or in our case, the view markup.

We expect every commit to have reasonable tests to indicate the intent. For example, since this happens to be a change on the Rails side, you'd be expected to write/modify an rspec.