Skip to content

Commit b8f701e

Browse files
committed
Autocorrect RSpec/Eq
1 parent a1861e1 commit b8f701e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

spec/features/inheritance_spec.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@ class Overwrite < Parent
4949

5050
context "when parsing xml" do
5151
it "parses the new overwritten attribut" do
52-
expect(overwrite.love).to be == "love"
52+
expect(overwrite.love).to eq "love"
5353
end
5454

5555
it "parses the new overwritten element" do
56-
expect(overwrite.genetics).to be == 1001
56+
expect(overwrite.genetics).to eq 1001
5757
end
5858
end
5959

@@ -66,11 +66,11 @@ class Overwrite < Parent
6666
end
6767

6868
it "has only 1 genetics element" do
69-
expect(xml.xpath("//genetics").count).to be == 1
69+
expect(xml.xpath("//genetics").count).to eq 1
7070
end
7171

7272
it "has only 1 love attribute" do
73-
expect(xml.xpath("@love").text).to be == "love"
73+
expect(xml.xpath("@love").text).to eq "love"
7474
end
7575
end
7676
end

0 commit comments

Comments
 (0)