Skip to content

Commit

Permalink
Autocorrect RSpec/Eq
Browse files Browse the repository at this point in the history
  • Loading branch information
mvz committed Sep 10, 2023
1 parent a1861e1 commit b8f701e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spec/features/inheritance_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ class Overwrite < Parent

context "when parsing xml" do
it "parses the new overwritten attribut" do
expect(overwrite.love).to be == "love"
expect(overwrite.love).to eq "love"
end

it "parses the new overwritten element" do
expect(overwrite.genetics).to be == 1001
expect(overwrite.genetics).to eq 1001
end
end

Expand All @@ -66,11 +66,11 @@ class Overwrite < Parent
end

it "has only 1 genetics element" do
expect(xml.xpath("//genetics").count).to be == 1
expect(xml.xpath("//genetics").count).to eq 1
end

it "has only 1 love attribute" do
expect(xml.xpath("@love").text).to be == "love"
expect(xml.xpath("@love").text).to eq "love"
end
end
end
Expand Down

0 comments on commit b8f701e

Please sign in to comment.