I am trying to make the 2 minute tutorial run on Aptana 3.
I’ve already created both .rb files, but I am left wondering what button or command should I run to make my game_spec.rb file run.
How to run my rspec tests in Aptana?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The tutorial is not quite correct.
First, you need to place you game_spec.rb into spec/ folder.
The tutorial assumes to use Terminal so you need to click on “Open Terminal” action on toolbar, then type (or copy/paste)
Alternatively, you could use menu Commands/RSpec/Run Examples (there is a shortcut too for it), but it requires fixing the RSpec Aptana bundle. Follow these steps:
Also, I’d define TM_RSPEC_OPTS environment variable and set it to “–format doc”
Chers,
Max