You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. This lesson is really good, but I noticed that there was a test missing. There should be a test that checks for whether you can change the dog's breed. Something like this:
describe ApplicationController do
describe 'Dog class' do
...
# Maybe put this between the tests that check for changing the dog's name and age:
it 'can change dog breed' do
@dog = Dog.new("rudolph", "mastiff", 2)
@dog.breed = "beagle"
expect(@dog.breed).to eq("beagle")
end
...
end
end
Thanks as always for looking into this!
Sdcrouse
The text was updated successfully, but these errors were encountered:
Hi. This lesson is really good, but I noticed that there was a test missing. There should be a test that checks for whether you can change the dog's breed. Something like this:
Thanks as always for looking into this!
Sdcrouse
The text was updated successfully, but these errors were encountered: