RSpec 2 and Rails 3 in 2.5 EAP

Hello All,

Just thought I'd share some experiences I've had with the new RubyMine 2.5 EAP.

I have a Rails 3 project, with the following redacted Gemfile:

source :gemcutter

gem 'rails', '3.0.0.beta3'

...

group :test do
  gem 'net-ssh', :require => 'net/ssh'
  gem 'net-sftp', :require => 'net/sftp'
  gem 'sqlite3-ruby', :require => 'sqlite3'
  gem 'rspec-rails', '2.0.0.beta.8'
  gem 'rspec', '2.0.0.beta.8'
  gem 'cucumber'
  gem 'cucumber-rails'
  gem 'webrat'
  gem 'database_cleaner', '>=0.5.0', :require => false
  gem 'autotest'
  gem 'autotest-rails'
end



...


Now I have this working just fine from the command line when I issue `rake spec` but when I call the task in RubyMine it shows the correct output but shows that there were no tests.  I'm wondering how the test runner gets it's data, from reading the output from the task?  If so does it have to have a certan display style?  Is this because RubyMine is not communicating with RSpec 2 properly?

Thanks Guys.

R

1 comment
Comment actions Permalink

RubyMine gets test data by parsing stdout. To successfully understand/parse rspec output RubyMine attaches its custom rspec formatter. Most likely RM haven't managed to attach it. Please file an issue at http://youtrack.jetbrains.net/issues/RUBY

0

Please sign in to leave a comment.