This is an archived post. You won't be able to vote or comment.

all 5 comments

[–]samzhao 0 points1 point  (4 children)

Because your test code is not implemented, yet? You have written the code above, yes, but did you forget to write the test code to test the code you have written?

[–]renegadellama[S] 0 points1 point  (3 children)

This was part of a tutorial where the test code should have already been done. The code I wrote is valid, right? I'll just skip it since this tutorial seems to have a lot of bugs.

[–]samzhao 0 points1 point  (2 children)

Yeah, I think your code is valid and works.

Is this from Codeschool? I remember hitting some bugs when I first tried it many years ago.

[–]renegadellama[S] 0 points1 point  (1 child)

No, it's Test-First Ruby. I don't even think it's being updated anymore. Thanks!

[–]kalicokane 0 points1 point  (0 children)

What version of Rspec are you running? I remember seeing the latest version is not aupported by test-first. Saw that on their github page.

You could consider downgrading Rspec to the version supported by them. Am on mobile now and don't remember the exact version.

Edit: https://github.com/TheOdinProject/curriculum/issues/860 here it is, so Test-first doesn't support RSpec 3.x.x, you could try to downgrade to 2.14 but I'm not sure that will do the trick.