Skip to content

Commit

Permalink
Merge pull request #452 from LD4P/acc
Browse files Browse the repository at this point in the history
Release 7.9.2 with FIX: only check for dogear if status is a Hash
  • Loading branch information
elrayle authored Jun 10, 2021
2 parents e5e6cc6 + 0311149 commit 5740f18
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### 7.9.2 (2021-06-10)

* fix: only check for dogear if status is a Hash

### 7.9.1 (2021-06-10)

* fix compare accuracy fails if either has pending tests
Expand Down
2 changes: 1 addition & 1 deletion app/presenters/qa_server/check_status_presenter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def comparison_status_data?

# @return [String] the name of the css style class to use for the status cell based on the status of the scenario test.
def status_style_class(status)
return "status-#{status}" if status.is_a? Symbol
return "status-#{status}" unless status.is_a? Hash
status[:pending] ? "status-dogear status-#{status[:status]}" : "status-#{status[:status]}"
end

Expand Down
2 changes: 1 addition & 1 deletion lib/qa_server/version.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: true
module QaServer
VERSION = '7.9.1'
VERSION = '7.9.2'
end

0 comments on commit 5740f18

Please sign in to comment.