-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rails 5.1 & passing tests #62
base: master
Are you sure you want to change the base?
Conversation
@@ -11,8 +11,7 @@ | |||
// about supported directives. | |||
// | |||
//= require jquery | |||
//= require jquery.cookie | |||
//= require js.cookie |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know this probably does not matter, but should this have changed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is necessary with the change from the jquery-cookie-rails
gem, which seemed to be incompatible with newer versions of rails, to the newer js_cookie_rails
gem. But I don't have a good idea how all these bits fit together, so let me know if I'm wrong about that!
(And thanks for looking at this)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll take a look at the rest of the code to the best that I can in an hour or so 👍
After a whole lot of searching, I managed to get almost all the tests passing. Upgrading Rails was the first step, since the old version was not compatible with Ruby 2.6.
The final test ("should do race" in
score_helper_test.rb
seemed to reflect an actual problem in the code. At least in 2018, we didn't use the web app for scoring, so I skipped the test rather than spending time trying to solve it.