```ruby
require_relative '../peg'
require_relative 'spec_helper'

describe Peg do
  let(:peg) { Peg.new("red") }
  describe '#color' do
    it 'returns the color of the peg' do
      expect(peg.color).to eq "red"
    end
  end
end
```

Add test for peg equality method
user
```ruby
require_relative '../peg'
require_relative 'spec_helper'

describe Peg do
  let(:peg) { Peg.new("red") }
  describe '#color' do
    it 'returns the color of the peg' do
      expect(peg.color).to eq "red"
    end
  end

  describe'#==' do
    let(:peg1) { Peg.new("yellow") }
    let(:peg2) { Peg.new("yellow") }
    let(:peg3) { Peg.new("orange") }
    it 'returns false if they are not the same' do
      expect(peg2 == peg3).to be false
    end
    it 'returns true if they are not the same' do
      expect(peg1 == peg2).to be true
    end
  end
end
```
assistant