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

Fix remaining test failures #783

Merged
merged 4 commits into from Jun 29, 2012
Merged

Conversation

jerboaa
Copy link
Member

@jerboaa jerboaa commented Jun 28, 2012

With these commits the tests all pass for me using Ruby 1.9.3 and SVN 1.6.17. Haven't run the suite with 1.8.7 yet. So far so good.

I've also fixed some missing File.expand_path() calls.

The code switched meanwhile to use :x1, :x2, :y1, :y2 over :coords as
parameters.
Use File.expand_path() everywhere so as to be able to run one test file
with:

$ ruby path/to/test_file.rb
A couple of test errors were thrown and an exception showed up when the
"Grades" tab was selected for a marks spreadsheet. As it turnes out, the
problem was that the lambda took no arguments but was called with two
arguments. See app/controllers/grade_entry_forms_controller.rb
line 29. This fix only changes the offending lambda to take two dummy
arguments. That is needed as the pagination helper routine is also
called by the submissions table controllers.
benjaminvialle added a commit that referenced this pull request Jun 29, 2012
Fix remaining test failures
@benjaminvialle benjaminvialle merged commit a898d50 into MarkUsProject:ruby19 Jun 29, 2012
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.

None yet

2 participants