File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -49,11 +49,11 @@ class Overwrite < Parent
49
49
50
50
context "when parsing xml" do
51
51
it "parses the new overwritten attribut" do
52
- expect ( overwrite . love ) . to be == "love"
52
+ expect ( overwrite . love ) . to eq "love"
53
53
end
54
54
55
55
it "parses the new overwritten element" do
56
- expect ( overwrite . genetics ) . to be == 1001
56
+ expect ( overwrite . genetics ) . to eq 1001
57
57
end
58
58
end
59
59
@@ -66,11 +66,11 @@ class Overwrite < Parent
66
66
end
67
67
68
68
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
70
70
end
71
71
72
72
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"
74
74
end
75
75
end
76
76
end
You can’t perform that action at this time.
0 commit comments