@benorenstein
This page doesn’t exist: https://github.com/thoughtbot/tell-dont-ask-exercise
That link works for me.
Is it possible that you weren’t logged in?
No, I tried it again, but it still not working for me. You can see from this screenshot.
Oops. Looks like permissions weren’t correct on that repo for some reason.
I just fixed it. Should be good now.
@ben the specs dont run. The gemfile doesnt have the factorygirls gem.
I just ran them and they worked fine. The Gemfile doesn’t need factory_girl–it doesn’t use it.
Are you getting an error? If so, can you post it?
I just checked and there is indeed an error on factory_girl.
@benorenstein in the spec_helper you are referencing active_model and factory_girl, but these are not in the gemfile. (pull request)
Add to your gemfile:
gem 'factory_girl'
gem 'activemodel'
Then:
bundle && rake
I removed those requires and was able to run the specs. But I only was able to write the implementation and did not understand how to write the specs. Plus I think I am the only one to solve that question.
@charlieanna - here is my quick solution: https://github.com/thoughtbot/tell-dont-ask-exercise/pull/6