Re: [rspec-users] how to write complex matchers

2009-02-14 Thread Yury Kotlyarov
Phlip wrote: Yury Kotlyarov wrote: http://github.com/yura/howto-rspec-custom-matchers/ The project aims to encourage feedback on the best practices of creating custom expectation matchers and specs for them. Does it make sense? That just says it's a "project". One git clone later... It

Re: [rspec-users] [Cucumber] ssl requirement

2009-02-14 Thread s.ross
I have a fix to SslRequirement that allows you to exclude user- specified domain names. It's quite likely that you won't want to use SSL on some machines when in development. In any case, I have a bear of a time with the Rails Test::Unit setup so that part's missing, but look over: http://

Re: [rspec-users] how to write complex matchers

2009-02-14 Thread Phlip
Yury Kotlyarov wrote: http://github.com/yura/howto-rspec-custom-matchers/ The project aims to encourage feedback on the best practices of creating custom expectation matchers and specs for them. Does it make sense? That just says it's a "project". One git clone later... It is a Rails 2.3

Re: [rspec-users] Testing misc methods in ApplicationController

2009-02-14 Thread Fernando Perez
> You spec the public interface that calls (or causes to be called) the > protected methods. Ok I see. Thanks for the clarification. -- Posted via http://www.ruby-forum.com/. ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/m

Re: [rspec-users] how to write complex matchers

2009-02-14 Thread Yury Kotlyarov
Phlip wrote: http://github.com/yura/howto-rspec-custom-matchers/ RSpec is a library ;-) Please try again: What is that source code drop. A website? A library? or something else? ok - from README: The project aims to encourage feedback on the best practices of creating custom expectat

Re: [rspec-users] how to write complex matchers

2009-02-14 Thread Phlip
http://github.com/yura/howto-rspec-custom-matchers/ RSpec is a library ;-) Please try again: What is that source code drop. A website? A library? or something else? ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mail

[rspec-users] [Cucumber] Portuguese keywords not recognized

2009-02-14 Thread Oliver Barnes
Hello, I've just installed cucumber 0.1.99, and it looks like the Portuguese step keywords aren't recognized for some reason. I'm following this example up on github: http://github.com/aslakhellesoy/cucumber/blob/ae9bf75d586cda232310721f62ecab91fc2336c0/examples/i18n/pt/features/adicao.feature W

Re: [rspec-users] how to write complex matchers

2009-02-14 Thread Yury Kotlyarov
Phlip wrote: Yury Kotlyarov wrote: The major problem is fixed: http://github.com/yura/howto-rspec-custom-matchers/ Apologies if I missed something, but is that a howto or a library? Do I git it and run it to ... learn to customize matchers? RSpec is a library ;-) And I have some issues

Re: [rspec-users] how to write complex matchers

2009-02-14 Thread Phlip
Yury Kotlyarov wrote: The major problem is fixed: http://github.com/yura/howto-rspec-custom-matchers/ Apologies if I missed something, but is that a howto or a library? Do I git it and run it to ... learn to customize matchers? ___ rspec-users mai

Re: [rspec-users] how to write complex matchers

2009-02-14 Thread Yury Kotlyarov
Phlip wrote: David Chelimsky wrote: This looks pretty cool. I wonder if you'd have any interest in making this a bit more rspec-friendly? Something like an option to run it like this: expect_xpath do It's on my do-list, but... ...are pluggable matchers as hard to write as the OP implied? Ho

Re: [rspec-users] [Cucumber] running `cucumber` without a gem

2009-02-14 Thread Zach Dennis
Is your file path wrong? I see: $:.unshift 'vendor/gems/cucumber-0.1.6/lib' Shouldn't that be: $:.unshift 'vendor/gems/cucumber-0.1.16/lib' ?? On Sat, Feb 14, 2009 at 7:41 AM, Bart Zonneveld wrote: > > On 13 feb 2009, at 16:28, David Chelimsky wrote: > >> On Fri, Feb 13, 2009 at 6:23

Re: [rspec-users] [Cucumber] ssl requirement

2009-02-14 Thread James Byrne
Wincent Colaiuta wrote: ># always return false for tests >return false if RAILS_ENV == 'test' > > I brand this as "hideous" because it commits the heinous crime of > dynamically modifying application behaviour only when execution within > the testing context is detected. Ugh. > > For the

Re: [rspec-users] [Cucumber] running `cucumber` without a gem

2009-02-14 Thread Bart Zonneveld
On 13 feb 2009, at 16:28, David Chelimsky wrote: On Fri, Feb 13, 2009 at 6:23 AM, Bart Zonneveld > wrote: On 13 feb 2009, at 12:14, David Chelimsky wrote: On Fri, Feb 13, 2009 at 4:47 AM, Bart Zonneveld > wrote: Hey list, I have a test server, which doesn't have cucumber as gem, so I un