Skip to content

Commit

Permalink
Fixing: RSpec/BeNil cop violation in decidim-participatory_processes
Browse files Browse the repository at this point in the history
  • Loading branch information
alecslupu committed May 2, 2022
1 parent 38e15c5 commit 365c40d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ module Admin

context "when no dates" do
it "returns nil" do
expect(subject.start_date).to be(nil)
expect(subject.end_date).to be(nil)
expect(subject.start_date).to be_nil
expect(subject.end_date).to be_nil
end
end
end
Expand Down

0 comments on commit 365c40d

Please sign in to comment.