Ruby - Testing with RSpec and Minitest
Identify the error in the following code snippet:
let(:value) { 5 }
before do
value = 10
end
it 'checks value' do
expect(value).to eq(5)
end