From 54eb5416d352cf89eadd023974a4714f4eee0899 Mon Sep 17 00:00:00 2001 From: Robert Brodie Date: Sun, 28 Apr 2024 23:20:01 -0400 Subject: [PATCH] Fix RSpec/BeEql --- spec/jira/resource/agile_spec.rb | 4 ++-- spec/jira/resource/filter_spec.rb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/jira/resource/agile_spec.rb b/spec/jira/resource/agile_spec.rb index 14f2da4d..c0502634 100644 --- a/spec/jira/resource/agile_spec.rb +++ b/spec/jira/resource/agile_spec.rb @@ -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) @@ -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) diff --git a/spec/jira/resource/filter_spec.rb b/spec/jira/resource/filter_spec.rb index 30908e89..58117f51 100644 --- a/spec/jira/resource/filter_spec.rb +++ b/spec/jira/resource/filter_spec.rb @@ -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