Re: [rspec-users] Strange return value

2010-10-12 Thread Yuri Yuri art
Thanks you for the post. Hi guys, Im a newbie. Nice to join this forum. __ http://moviesonlinefree.biz -- Posted via http://www.ruby-forum.com/. ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listi

Re: [rspec-users] Strange return value

2010-10-01 Thread Zhi-Qiang Lei
On Oct 1, 2010, at 8:48 PM, David Chelimsky wrote: > On Oct 1, 2010, at 6:11 AM, Zhi-Qiang Lei wrote: > >> Dear All, >> >> I meet a strange issue when I test my Rack Middleware. Could anyone help me >> to point the error out? Thanks. >> >> This is the code. >> >> class EIOUAuthorization >> d

Re: [rspec-users] Strange return value

2010-10-01 Thread David Chelimsky
On Oct 1, 2010, at 6:11 AM, Zhi-Qiang Lei wrote: > Dear All, > > I meet a strange issue when I test my Rack Middleware. Could anyone help me > to point the error out? Thanks. > > This is the code. > > class EIOUAuthorization > def initialize(app) >@app = app > end > def call(env) >r

[rspec-users] Strange return value

2010-10-01 Thread Zhi-Qiang Lei
Dear All, I meet a strange issue when I test my Rack Middleware. Could anyone help me to point the error out? Thanks. This is the code. class EIOUAuthorization def initialize(app) @app = app end def call(env) request = Rack::Request.new(env) path_strings = request.path_info.sp