Skip to content

Commit

Permalink
Fix RSpec/BeEql
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbrodie committed Apr 29, 2024
1 parent 96ea2eb commit 54eb541
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions spec/jira/resource/agile_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

issues = described_class.get_board_issues(client, 1)
expect(issues).to be_an(Array)
expect(issues.size).to eql(9)
expect(issues.size).to be(9)

issues.each do |issue|
expect(issue.class).to eq(JIRA::Resource::Issue)
Expand All @@ -53,7 +53,7 @@

issues = described_class.get_board_issues(client, 1, startAt: 50)
expect(issues).to be_an(Array)
expect(issues.size).to eql(9)
expect(issues.size).to be(9)

issues.each do |issue|
expect(issue.class).to eq(JIRA::Resource::Issue)
Expand Down
2 changes: 1 addition & 1 deletion spec/jira/resource/filter_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
.and_return(issue_jql_response)
issues = filter.issues
expect(issues).to be_an(Array)
expect(issues.size).to eql(1)
expect(issues.size).to be(1)
expected_issue = client.Issue.build(JSON.parse(jql_issue.to_json))
expect(issues.first.attrs).to eql(expected_issue.attrs)
end
Expand Down

0 comments on commit 54eb541

Please sign in to comment.