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

I can't seem to run any of the rspec tests on my CL #487

Closed
fmlharrison opened this issue Sep 7, 2016 · 2 comments
Closed

I can't seem to run any of the rspec tests on my CL #487

fmlharrison opened this issue Sep 7, 2016 · 2 comments

Comments

@fmlharrison
Copy link

fmlharrison commented Sep 7, 2016

#487

I am putting in the correct command on the command line but it won't run the rspec checks.
Here is what it is giving me:
Felixs-Air:learn_to_program felixharrison$ rspec ./spec/ch10 /Users/felixharrison/.rvm/gems/ruby-2.3.0/gems/rspec-core-3.2.3/lib/rspec/core/configuration.rb:1226:inload': /Users/felixharrison/Projects/learn_to_program/ch10-nothing-new/english_number.rb:84: syntax error, unexpected end-of-input, expecting keyword_end (SyntaxError)`

What have I done wrong.

PS sorry for the long code

@stuartcooper
Copy link

Following on from this, I've just tried the rspec on my orange_tree.rb file and received the below error:

I was looking for the correct strings to use, but I don't see anything in this which suggests what they should be?

Stuarts-MBP:ch13-creating-new-classes stuartcooper$ rspec spec/ch13/orange_tree.rb
/Users/stuartcooper/.rvm/gems/ruby-2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/configuration.rb:1435:in load': cannot load such file -- /Users/stuartcooper/Desktop/precourse2/learn_to_program/ch13-creating-new-classes/spec/ch13/orange_tree.rb (LoadError) from /Users/stuartcooper/.rvm/gems/ruby-2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/configuration.rb:1435:inblock in load_spec_files'
from /Users/stuartcooper/.rvm/gems/ruby-2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/configuration.rb:1433:in each' from /Users/stuartcooper/.rvm/gems/ruby-2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/configuration.rb:1433:inload_spec_files'
from /Users/stuartcooper/.rvm/gems/ruby-2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/runner.rb:100:in setup' from /Users/stuartcooper/.rvm/gems/ruby-2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/runner.rb:86:inrun'
from /Users/stuartcooper/.rvm/gems/ruby-2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/runner.rb:71:in run' from /Users/stuartcooper/.rvm/gems/ruby-2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/runner.rb:45:ininvoke'
from /Users/stuartcooper/.rvm/gems/ruby-2.3.0/gems/rspec-core-3.5.3/exe/rspec:4:in <top (required)>' from /Users/stuartcooper/.rvm/gems/ruby-2.3.0/bin/rspec:23:inload'
from /Users/stuartcooper/.rvm/gems/ruby-2.3.0/bin/rspec:23:in <main>' from /Users/stuartcooper/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:ineval'
from /Users/stuartcooper/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in `

'

@anitacanita
Copy link
Contributor

@fmlharrison and @stuartcooper Please move this issue to the pre_course repo, otherwise it doesn't show on slack!

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

No branches or pull requests

4 participants