[ANN] rspec-rails 1.2.9 Released

  • Thread starter David Chelimsky
  • Start date
D

David Chelimsky

rspec-rails version 1.2.9 has been released!

* <http://rspec.info>
* <http://rubyforge.org/projects/rspec>
* <http://github.com/dchelimsky/rspec-rails>
* <http://wiki.github.com/dchelimsky/rspec/rails>
* <[email protected]>

Behaviour Driven Development for Ruby on Rails.

Changes:

### Version 1.2.9 / 2009-10-05

* enhancements
* added route_to and be_routable matchers (Randy Harmon). Closes #843.
* Provide better failure message for render_template when redirected (Josh
Nichols). Closes #885.
* generated specs require 'spec_helper'

* bug fixes
* pass the correct args to super in controller#render depending on the rails
version (Lucas Carlson). Closes #865.
* use Rack::Utils.parse_query to convert query strings to hashes. Closes #872.
* errors correctly bubble up when a controller spec in isolation mode
requests a non-existent action/template
* no error if either action or template exist
* error if neither exist
* Closes #888.

* removals
* spec_server has been removed in favor of spork.
* You can still use the --drb flag, but you've got to install the spork
gem.
* Windows users who cannot use the spork gem can install the spec_server
from http://github.com/dchelimsky/spec_server
 
M

Mike Vogel

David said:
rspec-rails version 1.2.9 has been released!
* removals
* spec_server has been removed in favor of spork.
* You can still use the --drb flag, but you've got to install the
spork
gem.
* Windows users who cannot use the spork gem can install the
spec_server
from http://github.com/dchelimsky/spec_server

Any suggestion for why I'd get the following exception when trying to
run spec_server on windows with rspec 1.3.1? This is my first time
trying to get this working so I can't say that it worked with 1.2.9.

(druby://127.0.0.1:8989)
C:/InstantRailsAS4/rails_apps/cidr/spec/spec_helper.rb:
19: undefined method `use_transactional_fixtures=' for
#<Spec::Runner::Configura
tion:0xe12b854> (NoMethodError)
from (druby://127.0.0.1:8989)
C:/InstantRailsAS4/ruby/lib/ruby/gems/1.8/
gems/rspec-1.2.9/lib/spec/runner.rb:41:in `configure'
from (druby://127.0.0.1:8989)
C:/InstantRailsAS4/rails_apps/cidr/spec/sp
ec_helper.rb:15
from (druby://127.0.0.1:8989)
C:/InstantRailsAS4/ruby/lib/ruby/gems/1.8/
gems/activesupport-2.3.3/lib/active_support/dependencies.rb:145:in
`load_without
_new_constant_marking'
from (druby://127.0.0.1:8989)
C:/InstantRailsAS4/ruby/lib/ruby/gems/1.8/
gems/activesupport-2.3.3/lib/active_support/dependencies.rb:145:in
`load'
from (druby://127.0.0.1:8989)
C:/InstantRailsAS4/ruby/lib/ruby/gems/1.8/
gems/activesupport-2.3.3/lib/active_support/dependencies.rb:521:in
`new_constant
s_in'
from (druby://127.0.0.1:8989)
C:/InstantRailsAS4/ruby/lib/ruby/gems/1.8/
gems/activesupport-2.3.3/lib/active_support/dependencies.rb:145:in
`load'
from (druby://127.0.0.1:8989) script/spec_server:97:in `run'
from
C:/InstantRailsAS4/ruby/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec
/runner/drb_command_line.rb:17:in `run'
from
C:/InstantRailsAS4/ruby/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec
/runner/option_parser.rb:199:in `parse_drb'
from
C:/InstantRailsAS4/ruby/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec
/runner/option_parser.rb:130:in `order!'
from
C:/InstantRailsAS4/ruby/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec
/runner.rb:51:in `options'
from
C:/InstantRailsAS4/ruby/lib/ruby/gems/1.8/gems/rspec-1.2.9/lib/spec
/runner/command_line.rb:6:in `run'
from
C:/InstantRailsAS4/ruby/lib/ruby/gems/1.8/gems/rspec-1.2.9/bin/spec
:5
 
M

Mike Vogel

Mike Vogel wrote:

Same problem when using version rspec-rails 1.2.9 and rspec 1.2.9. I
uninstalled both gems, reinstalled rspec-rails letting it pull in the
version of rspec it depends on. I re-ran 'ruby script/generate rspec'
and let it replace all the files. I copied spec_server from
http://github.com/dchelimsky/spec_server.

spec spec runs all the specs successfully.
autospec without the --drb option runs all specs successfully
autospec with -drb option fails with "undefined method
`use_transactional_fixtures='" exception.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top