rails:2.0.1. Formatter in this case is Specdoc
The odd part is that debugger is telling me that BaseFormatter,
BaseTextFormatter and SpecdocFormatter all take one argument. I
don't
have the gem installed, so I'm not sure where Ruby is getting
that
from, as the code shows 2, options and where.
Any advice on where to look, or what other information I can
give you?
Jim D
Aragorn:mydna james$ rake spec
(in /Users/james/projects/mydna)
/Users/james/projects/mydna/app/models/asset.rb:23: warning:
Object#id
will be deprecated; use Object#object_id
./spec/models/mailers/person_notifier_spec.rb:41: warning:
already
initialized constant FIXTURES_PATH
./spec/models/mailers/person_notifier_spec.rb:42: warning:
already
initialized constant CHARSET
./spec/models/mailers/feedback_notifier_spec.rb:4: warning:
already
initialized constant FIXTURES_PATH
./spec/models/mailers/feedback_notifier_spec.rb:5: warning:
already
initialized constant CHARSET
/Users/james/projects/mydna/vendor/plugins/rspec/lib/spec/runner/
options.rb:151:in `initialize': wrong number of arguments (2
for 1)
(ArgumentError)
from /Users/james/projects/mydna/vendor/plugins/rspec/lib/
spec/runner/
options.rb:151:in `new'
from /Users/james/projects/mydna/vendor/plugins/rspec/lib/
spec/runner/
options.rb:151:in `formatters'
from /Users/james/projects/mydna/vendor/plugins/rspec/lib/
spec/runner/
options.rb:144:in `map'
from /Users/james/projects/mydna/vendor/plugins/rspec/lib/
spec/runner/
options.rb:144:in `formatters'
from /Users/james/projects/mydna/vendor/plugins/rspec/lib/
spec/runner/
reporter.rb:71:in `formatters'
from /Users/james/projects/mydna/vendor/plugins/rspec/lib/
spec/runner/
reporter.rb:58:in `dump'
from /Users/james/projects/mydna/vendor/plugins/rspec/lib/
spec/runner/
example_group_runner.rb:37:in `finish'
from /Users/james/projects/mydna/vendor/plugins/rspec/lib/
spec/runner/
example_group_runner.rb:26:in `run'
from /Users/james/projects/mydna/vendor/plugins/rspec/lib/
spec/runner/
options.rb:85:in `run_examples'
from /Users/james/projects/mydna/vendor/plugins/rspec/lib/
spec/runner/
command_line.rb:19:in `run'
from /Users/james/projects/mydna/vendor/plugins/rspec/bin/
spec:3
rake aborted!
On Dec 7, 2007, at 11:32 AM, David Chelimsky wrote:
After a couple of quick fixes this morning, rspec_on_rails (in
trunk
as of rev 3070) now works correctly with Rails 2.0.1
Now that Rails 2.0 is out, we'll try to get an RSpec 1.1 release
candidate out the door in the next few days.
Cheers,
David
_______________________________________________
rspec-devel mailing list
[EMAIL PROTECTED]
http://rubyforge.org/mailman/listinfo/rspec-devel
_______________________________________________
rspec-devel mailing list
[EMAIL PROTECTED]
http://rubyforge.org/mailman/listinfo/rspec-devel