0

I'm working through the Ruby on Rails Tutorial and my test worked fine until I installed the advanced testing setup at the end on chapter 3. I never got the expected resultminitest reporters

the expected result

Now when I run a test I receive this messageerror message from running test

result when I run rake db:migrateerror message from running rake db:migrate Here's a copy of controllerstatic pages controller test

1
  • 1
    You have the exact same test example "should get about" twice, that's what the warning is telling you as well. Commented Oct 27, 2015 at 14:56

1 Answer 1

1

It's warning you of a duplicate title in your StaticPagesControllerTest. The last test is looking for the contact page, change it's title to 'Should get contact'.

Then try re-running rake rake db:migrate

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.