Sha256: ed7a93a8eff9f5aa8e15224690eb0f75726b07188799f8c33ace7e0a40296a71

Contents?: true

Size: 259 Bytes

Versions: 1

Compression:

Stored size: 259 Bytes

Contents

def test_paste_equality(a, b)
  %w[species nickname gender item evs ivs shiny?
     ability tera_type level happiness nature moves].each do |attr|
    a.each_with_index do |pkmn, index|
      expect(pkmn.send attr).to eq b[index].send(attr)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pokepaste-0.1 spec/support/paste_equality.rb