diff --git a/spec/lib/rex/parser/ini_spec.rb b/spec/lib/rex/parser/ini_spec.rb index 2a0dc4280c..a1ecba7b15 100644 --- a/spec/lib/rex/parser/ini_spec.rb +++ b/spec/lib/rex/parser/ini_spec.rb @@ -20,7 +20,7 @@ EOF it "enumerates the groups" do groups = [] ini.each_group { |group| groups << group } - groups.should eq(%w(foo bar baf)) + expect(groups).to eq(%w(foo bar baf)) end end @@ -28,7 +28,7 @@ EOF it "enumerates the groups" do groups = [] ini.each_key.map { |group| groups << group } - groups.should eq(%w(foo bar baf)) + expect(groups).to eq(%w(foo bar baf)) end end end