Error executing specs using Ruby 1.9.1p243 and RSpec 1.2.9

View: New views
4 Messages — Rating Filter:   Alert me  

Error executing specs using Ruby 1.9.1p243 and RSpec 1.2.9

by Conrad Taylor :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi, 'rake spec' failed to run on Ruby 1.9.1p243 and RSpec 1.2.9.  I'm
getting the following error message when I run the specs:

/opt/local/lib/ruby/gems/1.9.1/gems/rspec-1.2.9/spec/spec/runner/
option_parser_spec.rb:21:in `block (2 levels) in <top (required)>':
wrong number of arguments (0 for 1) (ArgumentError)

After analyzing the error message, it appears that "use_fakefs" method
on lines 21 and 522 of the

option_parser_spec.rb

should take an argument.

-Conrad

_______________________________________________
rspec-users mailing list
rspec-users@...
http://rubyforge.org/mailman/listinfo/rspec-users

Re: Error executing specs using Ruby 1.9.1p243 and RSpec 1.2.9

by David Chelimsky-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Nov 3, 2009 at 7:25 AM, Conrad Taylor <conradwt@...> wrote:
Hi, 'rake spec' failed to run on Ruby 1.9.1p243 and RSpec 1.2.9.

Hi Conrad,

If this was a problem in the gem, it is now fixed:

$ rvm 1.9.1
$ which ruby
/Users/david/.rvm/ruby-1.9.1-p243/bin/ruby
$ rake spec
...
1522 examples, 0 failures, 2 pending

Cheers,
David
 
I'm
getting the following error message when I run the specs:

/opt/local/lib/ruby/gems/1.9.1/gems/rspec-1.2.9/spec/spec/runner/
option_parser_spec.rb:21:in `block (2 levels) in <top (required)>':
wrong number of arguments (0 for 1) (ArgumentError)

After analyzing the error message, it appears that "use_fakefs" method
on lines 21 and 522 of the

option_parser_spec.rb

should take an argument.

-Conrad

_______________________________________________
rspec-users mailing list
rspec-users@...
http://rubyforge.org/mailman/listinfo/rspec-users


_______________________________________________
rspec-users mailing list
rspec-users@...
http://rubyforge.org/mailman/listinfo/rspec-users

Re: Error executing specs using Ruby 1.9.1p243 and RSpec 1.2.9

by Conrad Taylor :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

David, I'm still seeing the issue.  Thus, here's a transcript of my
activity:

http://pastie.org/688639

-Conrad

On Nov 4, 2:28 pm, David Chelimsky <dchelim...@...> wrote:

> On Tue, Nov 3, 2009 at 7:25 AM, Conrad Taylor <conra...@...> wrote:
> > Hi, 'rake spec' failed to run on Ruby 1.9.1p243 and RSpec 1.2.9.
>
> Hi Conrad,
>
> If this was a problem in the gem, it is now fixed:
>
> $ rvm 1.9.1
> $ which ruby
> /Users/david/.rvm/ruby-1.9.1-p243/bin/ruby
> $ rake spec
> ...
> 1522 examples, 0 failures, 2 pending
>
> Cheers,
> David
>
>
>
> > I'm
> > getting the following error message when I run the specs:
>
> > /opt/local/lib/ruby/gems/1.9.1/gems/rspec-1.2.9/spec/spec/runner/
> > option_parser_spec.rb:21:in `block (2 levels) in <top (required)>':
> > wrong number of arguments (0 for 1) (ArgumentError)
>
> > After analyzing the error message, it appears that "use_fakefs" method
> > on lines 21 and 522 of the
>
> > option_parser_spec.rb
>
> > should take an argument.
>
> > -Conrad
>
> > _______________________________________________
> > rspec-users mailing list
> > rspec-us...@...
> >http://rubyforge.org/mailman/listinfo/rspec-users
>
> _______________________________________________
> rspec-users mailing list
> rspec-us...@...://rubyforge.org/mailman/listinfo/rspec-users
_______________________________________________
rspec-users mailing list
rspec-users@...
http://rubyforge.org/mailman/listinfo/rspec-users

Re: Error executing specs using Ruby 1.9.1p243 and RSpec 1.2.9

by David Chelimsky-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, Nov 8, 2009 at 2:35 AM, Conrad Taylor <conradwt@...> wrote:
David, I'm still seeing the issue.  Thus, here's a transcript of my
activity:

http://pastie.org/688639

$ gem which fakefs
(checking gem bmabey-fakefs-0.1.1.1 for fakefs)
/Users/david/.rvm/gems/ruby/1.9.1/gems/bmabey-fakefs-0.1.1.1/lib/fakefs.rb

What version of fakefs are you using?
 


-Conrad

On Nov 4, 2:28 pm, David Chelimsky <dchelim...@...> wrote:
> On Tue, Nov 3, 2009 at 7:25 AM, Conrad Taylor <conra...@...> wrote:
> > Hi, 'rake spec' failed to run on Ruby 1.9.1p243 and RSpec 1.2.9.
>
> Hi Conrad,
>
> If this was a problem in the gem, it is now fixed:
>
> $ rvm 1.9.1
> $ which ruby
> /Users/david/.rvm/ruby-1.9.1-p243/bin/ruby
> $ rake spec
> ...
> 1522 examples, 0 failures, 2 pending
>
> Cheers,
> David
>
>
>
> > I'm
> > getting the following error message when I run the specs:
>
> > /opt/local/lib/ruby/gems/1.9.1/gems/rspec-1.2.9/spec/spec/runner/
> > option_parser_spec.rb:21:in `block (2 levels) in <top (required)>':
> > wrong number of arguments (0 for 1) (ArgumentError)
>
> > After analyzing the error message, it appears that "use_fakefs" method
> > on lines 21 and 522 of the
>
> > option_parser_spec.rb
>
> > should take an argument.
>
> > -Conrad
>
> > _______________________________________________
> > rspec-users mailing list
> > rspec-us...@...
> _______________________________________________
> rspec-users mailing list
> rspec-us...@...://rubyforge.org/mailman/listinfo/rspec-users
_______________________________________________
rspec-users mailing list
rspec-users@...
http://rubyforge.org/mailman/listinfo/rspec-users


_______________________________________________
rspec-users mailing list
rspec-users@...
http://rubyforge.org/mailman/listinfo/rspec-users