Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove superfluous question mark. #305

Merged
merged 1 commit into from
Jan 30, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/jira/resource/board.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def self.find(client, key, _options = {})
end

def issues(params = {})
path = path_base(client) + "/board/#{id}/issue?"
path = path_base(client) + "/board/#{id}/issue"
response = client.get(url_with_query_params(path, params))
json = self.class.parse_json(response.body)
results = json['issues']
Expand Down
2 changes: 1 addition & 1 deletion spec/jira/resource/board_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class JIRAResourceDelegation < SimpleDelegator # :nodoc:

allow(issues_response).to receive(:body).and_return(api_json_issues)
allow(board).to receive(:id).and_return(84)
expect(client).to receive(:get).with('/rest/agile/1.0/board/84/issue?')
expect(client).to receive(:get).with('/rest/agile/1.0/board/84/issue')
.and_return(issues_response)
expect(client).to receive(:Issue).and_return(JIRA::Resource::IssueFactory.new(client))

Expand Down