feat: function to fix should to expect in rspec