Skip to content
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

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Rails 5.1 & passing tests #62

wants to merge 8 commits into from

Conversation

takluyver
Copy link
Member

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.

@@ -11,8 +11,7 @@
// about supported directives.
//
//= require jquery
//= require jquery.cookie
//= require js.cookie
Copy link
Collaborator

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?

Copy link
Member Author

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)

Copy link
Collaborator

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 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants