Add and apply RSpec/BeEq rubocop rule
This rule was added in rubocop-rspec 2.9.0. Once again, we were applying it about 50% of the time.
This commit is contained in:
@@ -12,8 +12,8 @@ describe Poll::BoothAssignment do
|
||||
create(:poll_officer_assignment, officer: officer, booth_assignment: assignment_with_shifts)
|
||||
create(:poll_shift, booth: booth, officer: officer)
|
||||
|
||||
expect(assignment_with_shifts.shifts?).to eq(true)
|
||||
expect(assignment_without_shifts.shifts?).to eq(false)
|
||||
expect(assignment_with_shifts.shifts?).to be true
|
||||
expect(assignment_without_shifts.shifts?).to be false
|
||||
end
|
||||
|
||||
it "deletes shifts associated to booth assignments" do
|
||||
|
||||
Reference in New Issue
Block a user