Re: [rspec-users] rspec output on windows

2012-01-16 Thread Luis Lavena
have no glue how to get rid of the "special characters". Since I am > new to rails I appreciate any help or suggestions. Remove --color / --colour option from project .rspec file (or rspec.opts file, don't remember the name) -- Luis Lavena AREA 17 - Perfection in design is achiev

Re: [rspec-users] ruby 1.8.6

2011-08-21 Thread Luis Lavena
2 gems on your next release to be >= 1.8.7, that way will block the installation of the gems reducing the potential bug reports due 1.8.6 behavior. Regards, -- Luis Lavena AREA 17 - Perfection in design is achieved not when there is nothing more to add, but rather when

Re: [rspec-users] Not able to install rspec on Windows XP

2011-06-04 Thread Luis Lavena
the following? Outside any directory of any of the downloaded gems where put, please try: gem install rspec That single command should connect to rubygems.org, download latest information, find the gems, download *and* install them for you. -- Luis Lavena AREA 17 - Perfection in design is achi

Re: [rspec-users] No command 'rspec' found

2011-01-22 Thread Luis Lavena
c/versions/2.0.0 rspec-mocks = 2.0.0 rspec-expectations = 2.0.0 rspec-core = 2.0.0 Inside rspec-core is rspec command. Also, since you're using Ubuntu, you need to have /var/lib/gems/1.8/bin added to the PATH. Please check the above and let us know. -- Luis Lavena AREA 17 - Perfection in design i

Re: [rspec-users] major release required?

2011-01-21 Thread Luis Lavena
nk this warrants a major (3.0) > release, or would it be an acceptable exception to the rule (assuming proper > fanfare and documentation)? > IMHO this case is a exception to the rule that we can live with. -- Luis Lavena AREA 17 - Perfection in design is achieved not when there is noth

Re: [rspec-users] Redis and RSpec: Redis returning wildly inconsistent results

2011-01-17 Thread Luis Lavena
{ $redis.flushall } Just to ensure integrity and no leftover from my previous test. Will be great if you can show a little bit about your specs (exact spec code) and configuration so we can try replicate. Sometimes the error is there, but hidden somewhere else. -- Luis Lavena AREA 17 - Perfectio

Re: [rspec-users] RSpec newbie ran rspec 2.4 on WinXP, got HOME undefined

2011-01-11 Thread Luis Lavena
lity? File.expand_path("~") That could trigger the issue. expand_path on 1.8.x depends on HOME been defined. Ruby 1.9 already workaround that properly checking for HOMEDRIVE+HOMEPATH, USERPROFILE and HOME You can avoid that setting HOME to HOMEDRIVE+HOMEPATH: SET HOME=%HOMEDRIVE%%HOMEPATH

Re: [rspec-users] Problems running RSpec 2 with autotest/autospec

2010-12-14 Thread Luis Lavena
ow > returns with "Nothing to update". How do I go about updating my "gemfile > definitions"? > You're using Bundler, bundler needs a "manifest" of gems and versions that your application use. Look for "Gemfile" in the root of your application. M

Re: [rspec-users] Problems running RSpec 2 with autotest/autospec

2010-12-14 Thread Luis Lavena
(~> 2.1.0, runtime)' in any of the gem sources > listed in your Gemfile. The error is there, did you update your Gemfile definitions to the latest version and run bundle update rpsec or bundle update rspec-rails? -- Luis Lavena AREA 17 - Perfection in design is achieved not when there is

Re: [rspec-users] Problems running RSpec 2 with autotest/autospec

2010-12-11 Thread Luis Lavena
On Sat, Dec 11, 2010 at 2:33 PM, David Chelimsky wrote: > > > One step ahead of you :) > https://github.com/rspec/rspec-core/commit/dc1b0d53fde7505bb5769884e5c54b09b6886f89 > I'm going to beat your speed record David, some day.. some day :-) PS: Thank you :-D --

Re: [rspec-users] Problems running RSpec 2 with autotest/autospec

2010-12-11 Thread Luis Lavena
at to detect discovery? Just a suggestion to avoid these type of conversations ;-) Here is Bacon approach, checking for .bacon file https://github.com/chneukirchen/bacon/blob/master/lib/autotest/discover.rb -- Luis Lavena AREA 17 - Perfection in design is achieved not when there is nothing more

Re: [rspec-users] "no such file to load -- sqlite3" error

2010-11-11 Thread Luis Lavena
application it will use sqlite3 by default, try to execute rake db:migrate and db:test:prepare there and see if the error is reproducible. -- Luis Lavena AREA 17 - Perfection in design is achieved not when there is nothing more to add, but rather when there is nothing more to take away. A

Re: [rspec-users] "no such file to load -- sqlite3" error

2010-11-11 Thread Luis Lavena
gt; or mysql) work would be greatly appreciated. > Hello, To better understand what is going on with sqlite3 adapter will require more details. As for the mysql error, in your database.yml, just copy your configuration from development section and rename the database to your test one. Ensure th

Re: [rspec-users] autotest not working on Windows with rails3 and rspec2?

2010-11-10 Thread Luis Lavena
Any question or problems you have running Ruby on Windows (RubyInstaller by preference), please don't hesitate to ask in RubyInstaller group. -- Luis Lavena AREA 17 - Perfection in design is achieved not when there is nothing more to add, but rather when there is nothing more to take away. Anto

Re: [rspec-users] autotest not working on Windows with rails3 and rspec2?

2010-11-10 Thread Luis Lavena
to stop using it and switched to Isolate and invoke commands with "rake isolate:sh[autotest]" As for autotest coloring issues, for the ones wondering, we (RubyInstaller) are working on permanent ANSI coloring solutions for those Windows users. -- Luis Lavena AREA 17 - Perfection in des

Re: [rspec-users] Running RSpec under MultiRuby

2009-06-24 Thread Luis Lavena
On Wed, Jun 24, 2009 at 11:24 PM, Rick DeNatale wrote: > On Wed, Jun 24, 2009 at 8:18 PM, Luis Lavena wrote: >> On Wed, Jun 24, 2009 at 8:54 PM, Rick DeNatale >> wrote: >>> I just published a quick article showing how to use the patch I >>> provided and David j

Re: [rspec-users] Running RSpec under MultiRuby

2009-06-24 Thread Luis Lavena
Tried to leave you this comment: I have setup 'mr' as alias for multiruby, so I can do mr -S rake spec Which is going to produce the exact same results than your task (without inject system calls for which). Also, going with above example, this will work on Windows too, using Pik: p

Re: [rspec-users] autospec startup problem

2009-04-19 Thread Luis Lavena
a book - now for some serious testing. > Awesome! Don't hesitate in let us know how everything works. > Thank you for that, > rick Sure! Cheers! -- Luis Lavena AREA 17 - Perfection in design is achieved not when there is nothing more to add, but rather when there is

Re: [rspec-users] autospec startup problem

2009-04-19 Thread Luis Lavena
wer here: http://rubyforge.org/pipermail/rspec-users/2009-April/013896.html -- Luis Lavena AREA 17 - Perfection in design is achieved not when there is nothing more to add, but rather when there is nothing more to take away. Antoine de Saint-Exupéry

Re: [rspec-users] autospec startup problem

2009-04-19 Thread Luis Lavena
hat solves your problem. Hopefully that get backported to 1_9_1 branch and you can build 1.9.1 from it. -- Luis Lavena AREA 17 - Perfection in design is achieved not when there is nothing more to add, but rather when there is nothing more to take away. Antoine de Saint-Exupéry

Re: [rspec-users] Cucumber stripping the letter "a" on windows

2009-04-10 Thread Luis Lavena
that will handle much better UTF and other encodings. Once I've that released (in the upcoming days if I hit the Iconv jackpot), Cucumber can be updated to feed it with the proper encoding (UTF8) Since I'm looking targe 1.9 functionality too, will be tricky get yours a's back tod

Re: [rspec-users] Cucumber ENV setting in env.rb

2009-01-23 Thread Luis Lavena
have much like *nix, with ansi colors and all that. As other users commented, setting environment variables is not a problem on native Windows (I use and abuse of that in a daily basis). But again, dunno what happens in cygwin island. > > Andrew > > > > > 2009/1/22 Luis Lavena &

Re: [rspec-users] Cucumber ENV setting in env.rb

2009-01-22 Thread Luis Lavena
to run a x server to be able to use Xterm... that is way more complicated... James: can you tell us if you're using cygwin ruby or native one? -- Luis Lavena AREA 17 - Perfection in design is achieved not when there is nothing more to add, but rather when there is nothing more to t

Re: [rspec-users] Cucumber ENV setting in env.rb

2009-01-22 Thread Luis Lavena
mber is already initialized when support/env.rb is loaded. On Windows, cucumber uses win32console to output colors. I cannot comment on cygwin since I'm not a user of the environment. You're mixing cygwin ruby or is native ruby? -- Luis Lavena AREA 17 - Perfection in design is achieved not wh

Re: [rspec-users] Features and conditions for those to be executed

2008-11-24 Thread Luis Lavena
I'm on windows >> When I run black box >> I should get an error ... >> >> Given I'm on OSX >> When I run black box >> I should not get an error ... >> >> Just an idea, HTH >> >> Andrew >> >> >> 2008/11/22 L

Re: [rspec-users] Where does autospec come from?

2008-11-24 Thread Luis Lavena
gt; Is weird that you have autospec installed in two different places, unless there was some forced GEM_PATH and GEM_HOME for it. Both installations are using the bundled ruby version that came with OSX? If you post the errors will be much helpful, is hard to figure out things and assist you wit

Re: [rspec-users] Where does autospec come from?

2008-11-24 Thread Luis Lavena
have mtime as loadby order? Also, will be nice to know what kind of differences you're getting. Just output or errors? -- Luis Lavena AREA 17 - Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their apparent disinclination to

Re: [rspec-users] Features and conditions for those to be executed

2008-11-24 Thread Luis Lavena
ack box > I should get an error ... > > Given I'm on OSX > When I run black box > I should not get an error ... > > Just an idea, HTH > Yeah, your idea looks good. Wonder if this should be defined as a pending step or it should generate an skipped one? -- Luis Lavena AREA 17 -

[rspec-users] Features and conditions for those to be executed

2008-11-24 Thread Luis Lavena
tain, but if is the only choice, no problem. Thanks in advance for the suggestions. -- Luis Lavena AREA 17 - Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their apparent disinclination to do so

Re: [rspec-users] .with(:anything) issue

2008-11-13 Thread Luis Lavena
part20081113-8392-1vodbzf-0") > > Shouldn't it be working? The first argument is the same and I don't really > care about the second one as long as it is there. I also tried to replace > :anything with :string and got the same error. > > Any idea why I get this? >

Re: [rspec-users] [rspec-devel] The RSpec Book

2008-11-07 Thread Luis Lavena
out it at > http://www.pragprog.com/titles/achbd/the-rspec-book. > Yay! great news David! There is no pre-order button!?!? -- Luis Lavena AREA 17 - Human beings, who are almost unique in having the ability to learn from the experience of others, are also rema

Re: [rspec-users] Caboosers drop RSpec

2008-11-05 Thread Luis Lavena
On Tue, Nov 4, 2008 at 8:09 PM, Dr Nic <[EMAIL PROTECTED]> wrote: > On Nov 5, 1:55 am, "Luis Lavena" <[EMAIL PROTECTED]> wrote: >> Given a problem I have with RSpec >> And I post to the mailing list >> When noone answer my post >> And has been N

Re: [rspec-users] Caboosers drop RSpec

2008-11-04 Thread Luis Lavena
On Tue, Nov 4, 2008 at 1:47 PM, Mike Gunderloy <[EMAIL PROTECTED]> wrote: > On Nov 4, 2008, at 10:24 AM, Luis Lavena wrote: > >> Neither Rails was the one with best documentation (which btw I wonder >> what happened with the caboose documentation project they

Re: [rspec-users] Caboosers drop RSpec

2008-11-04 Thread Luis Lavena
On Tue, Nov 4, 2008 at 1:09 PM, Stephen Eley <[EMAIL PROTECTED]> wrote: > On Tue, Nov 4, 2008 at 9:55 AM, Luis Lavena <[EMAIL PROTECTED]> wrote: >> On Tue, Nov 4, 2008 at 12:32 PM, Fernando Perez <[EMAIL PROTECTED]> wrote: >>> >>> But when I read the p

Re: [rspec-users] Caboosers drop RSpec

2008-11-04 Thread Luis Lavena
iven a problem I have with RSpec And I post to the mailing list When noone answer my post And has been N days since I posted Then I start whining in my blog about it -- Luis Lavena AREA 17 - Human beings, who are almost unique in having the ability to learn from the experience of others, are also

Re: [rspec-users] Caboosers drop RSpec

2008-11-04 Thread Luis Lavena
I don't hear anyone ranting about the beast it is. So: the defacto vs. the newcomer. The full of classes and unpronounceable methods names vs. the descriptive ones. Pick your framework. -- Luis Lavena AREA 17 - Human beings, who are almost unique in having the ability to learn from the experienc

[rspec-users] RSpec a DSL

2008-10-24 Thread Luis Lavena
re/scenario design instead of low level specs? BTW: The DSL looks like this: http://gist.github.com/19707 Thanks in advance for any suggestions. Regards, -- Luis Lavena AREA 17 - Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkab

Re: [rspec-users] config.gem/rspec-rails/rspec bug (#577)

2008-10-22 Thread Luis Lavena
b? Did you updated the generate rake tasks? Since you're using the gem based one, require 'rubygems' before require 'spec' should work. I was bitten several time by RubyGems dependencies that I just try to avoid them, the more explicit you are, the better :-D -- Luis Lavena

Re: [rspec-users] rspec - undefined method `describe' for main:Object

2008-10-11 Thread Luis Lavena
by script/spec. FYI: There are plenty of tutorials around the web that explain how to get started with RSpec. I guess english is not your main language and can be difficult to search for it, but: google with keywords "rspec rails getting started": http://www.jbrains.ca/permalink/12

Re: [rspec-users] rspec - undefined method `describe' for main:Object

2008-10-10 Thread Luis Lavena
You should have used "ruby script/spec" from the root of your rails application instead. Also, if you changed versions of Rails, you need to update config/environment.rb to match the Rails gem version since you downgraded to 1.2.3 but forgot to change that file. I suggest you do thi

Re: [rspec-users] Solution for autospec not working

2008-10-10 Thread Luis Lavena
t find my customized version (for a console based MVC, it's on backup now). Or maybe I'm missing the need to set AUTOTEST and RSPEC env variables first? HTH, -- Luis Lavena AREA 17 - Human beings, who are almost unique in having the ability to learn from the experience of others, are a

Re: [rspec-users] Solution for autospec not working

2008-10-09 Thread Luis Lavena
1.8.6 (i386-mingw32) RubyGems version 1.2.0 Rails version 2.1.1 My .autotest file: http://pastie.org/289187 (exceptions are at ~/.autotest while other stuff is in the RAILS_ROOT of my app. HTH, -- Luis Lavena AREA 17 - Human beings, who are almost unique in havi

Re: [rspec-users] Difference between gem and plugin

2008-10-04 Thread Luis Lavena
talled it takes precedence > over the gem. > But require 'rubygems' on top is missing, ending with LoadError due missing 'spec' :-P Will get back to you with facts and all the details, 1.3.0 was released with a bug on Windows so I need to cook a sandboxed ruby with trunk vers

Re: [rspec-users] Difference between gem and plugin

2008-10-04 Thread Luis Lavena
ce they try to look for vendor/plugins/ instead of doing: require 'rubygems' require 'spec' Last, but not least, you need to do config.gem 'rspec-rails', :lib => 'spec/rails' since Rails will try by default to load 'rspec-rails' module instead

Re: [rspec-users] Cucumber: please make "gem install aslakhellesoy-cucumber" or "gem install cucumber" work again

2008-10-01 Thread Luis Lavena
hub.com gem fetch cucumber --source http://gems.github.com This will put the .gem file in the folder you performed the task for you to easily copy to your locked down environment :-D >> >> > Would it be too much to ask if you could tag the repo when you jump >> > to a new r

Re: [rspec-users] autospec is not picking latest changes

2008-09-16 Thread Luis Lavena
On Tue, Sep 16, 2008 at 6:05 PM, Mark Wilden <[EMAIL PROTECTED]> wrote: > On Tue, Sep 16, 2008 at 1:45 PM, Luis Lavena <[EMAIL PROTECTED]> wrote: >> >> Only two plugins installed: rspec and rspec-rails :-D > > Sure - I was just suggesting you check that they

Re: [rspec-users] autospec is not picking latest changes

2008-09-16 Thread Luis Lavena
On Tue, Sep 16, 2008 at 5:22 PM, Mark Wilden <[EMAIL PROTECTED]> wrote: > On Tue, Sep 16, 2008 at 12:45 PM, Luis Lavena <[EMAIL PROTECTED]> wrote: >> >> The funny thing is that another Rails 2.1.1 application works without >> problems under the same scenario

Re: [rspec-users] autospec is not picking latest changes

2008-09-16 Thread Luis Lavena
cation works without problems under the same scenario with both autotest and script/autospec. -- Luis Lavena AREA 17 - Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their apparent disinclination to do so. D

Re: [rspec-users] autospec is not picking latest changes

2008-09-16 Thread Luis Lavena
On Tue, Sep 16, 2008 at 4:18 PM, Luis Lavena <[EMAIL PROTECTED]> wrote: > Hey Guys. > > I just updated a project form 1.1.4 that was working with autotest > 3.10 without issues: > > 1) Updated spec/model/project_spec.rb and it fired only that spec. > 2) Updated app/mo

[rspec-users] autospec is not picking latest changes

2008-09-16 Thread Luis Lavena
k, I'll like to know if someone else is facing similar situation (or I'm just the one with the awkward environment). Thanks in advance, -- Luis Lavena AREA 17 - Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their a

Re: [rspec-users] Spec Server on Windows - missing fork

2008-08-06 Thread Luis Lavena
On Wed, Aug 6, 2008 at 6:04 AM, David Chelimsky <[EMAIL PROTECTED]> wrote: > On Sat, Aug 2, 2008 at 3:43 PM, Luis Lavena <[EMAIL PROTECTED]> wrote: >> On Sat, Aug 2, 2008 at 9:04 PM, Mark Wilden <[EMAIL PROTECTED]> wrote: >>> spec_server is one of the hidd

[rspec-users] Rails controller specs and private helper methods

2008-08-05 Thread Luis Lavena
ource_class is being stubbed or expected in some actions, but not actually executed. This is the pastie: http://pastie.org/247678 Do you guys think that will be best to put the resource_class stub inside the actions and create another context to deal with those internals? Thanks in advance for y

Re: [rspec-users] it_should_behave_like and arguments

2008-08-05 Thread Luis Lavena
On Tue, Aug 5, 2008 at 10:12 AM, David Chelimsky <[EMAIL PROTECTED]> wrote: > On Sat, Aug 2, 2008 at 6:49 PM, Luis Lavena <[EMAIL PROTECTED]> wrote: >> Hello list, >> >> I'm trying to setup some shared specs to describe a CRUD controller >> and want to

[rspec-users] it_should_behave_like and arguments

2008-08-02 Thread Luis Lavena
variable inside the shared specs. In any case, I can workaround using before(:each) blocks before invoking the shared specs. Thanks in advance for comments, suggestions and pointers. [1] http://blog.davidchelimsky.net/2008/7/1/new-controller-examples -- Luis Lavena AREA 17 - Human beings, wh

Re: [rspec-users] Spec Server on Windows - missing fork

2008-08-02 Thread Luis Lavena
nd see the results > of the test almost instantly. Beat that, TextMate! > I use autotest, I just save the file and it's executed, then I get the total test results without distraction, beat that ;-) Regards, -- Luis Lavena AREA 17 - Human beings, who are almost unique in having

Re: [rspec-users] Spec Server on Windows - missing fork

2008-08-02 Thread Luis Lavena
is into a batch file (like spec_server.bat) @echo off start "spec_server" /min ruby.exe script\spec_server One problem is that spec_server is not trapping Ctrl-C, so you will require to use Ctrl-break to stop the minized spec_server. HTH, -- Luis Lavena AREA 17 - Human beings, who are almost

Re: [rspec-users] $LOAD_PATH problem when creating rake task

2008-07-29 Thread Luis Lavena
On Tue, Jul 29, 2008 at 12:09 PM, Tero Tilus <[EMAIL PROTECTED]> wrote: > 2008-07-29 11:59, Luis Lavena: >> Did you require rubygems first? > > Oh dear! You made my day. \o/ > Sorry, I'm not a native english speaker, that means it worked? :-) -- Luis Lavena AR

Re: [rspec-users] $LOAD_PATH problem when creating rake task

2008-07-29 Thread Luis Lavena
x27;spec/rake/spectask' LoadError: no such file to load -- spec/rake/spectask from (irb):2:in `require' from (irb):2 irb(main):003:0> require 'rubygems' => true irb(main):004:0> require 'spec/rake/spectask' => true Maybe just a stupid comm

Re: [rspec-users] Getting RSpec 1.1.4+ to Work with Autotest (ZenTest 3.10.0) on Windows (Win32)

2008-07-15 Thread Luis Lavena
On Tue, Jul 15, 2008 at 2:03 PM, David Chelimsky <[EMAIL PROTECTED]> wrote: > On Tue, Jul 15, 2008 at 3:16 AM, Luis Lavena <[EMAIL PROTECTED]> wrote: >> [...] >> >> Hmn, really? >> >> rspec, commit 5bb989c6a54e325198

Re: [rspec-users] Getting RSpec 1.1.4+ to Work with Autotest (ZenTest 3.10.0) on Windows (Win32)

2008-07-15 Thread Luis Lavena
var must be present (which is set > by autospec) - so no, the autotest command won't work. > Hmn, really? rspec, commit 5bb989c6a54e325198e180ef3d4e59b5bf6eb21c rspec-rails: commit 9a1e10e7b71f7e8e4fb910a9695ee69abec63816 http://pastie.org/private/gwgvkbhpbvhvtquslwe6g But in any c

Re: [rspec-users] Fwd: Getting RSpec 1.1.4+ to Work with Autotest (ZenTest 3.10.0) on Windows (Win32)

2008-07-11 Thread Luis Lavena
s of a burden on the system. > If I'm in a Mac... running Windows on parallels? ;-) I think the same can be achieved under Windows using the File monitoring api.. Anyhow, autotest tend to leak some memory due it's scanning (but you can restart it after 6 hours of continuous monitoring).

Re: [rspec-users] Getting RSpec 1.1.4+ to Work with Autotest (ZenTest 3.10.0) on Windows (Win32)

2008-07-11 Thread Luis Lavena
5645-rspec/tickets/466-update-autospec-to-work-on-windows > The upcoming version of Ruby (1.8.6 after patchlevel 114) will include a fix for this issue, which I described in this post (less quirks for us section): http://blog.mmediasys.com/2008/04/24/contributions-speedup-and-less-quirks-for-us

Re: [rspec-users] Coloured output in rspec 1.1.4

2008-05-29 Thread Luis Lavena
mething about this? > Can you provide more information about your environment and version of stuff installed like zentest gem, OS, etc? Also if this error happens when running rake spec too? > > Thank you. Regards, -- Luis Lavena AREA 17 - Human beings, who are almost unique in having t

Re: [rspec-users] rspec at github

2008-04-09 Thread Luis Lavena
tuff, but never managed to replicate the environment to try it. Regards, -- Luis Lavena Multimedia systems - Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their apparent disinclination

Re: [rspec-users] Welcome Pat Maddox

2008-04-04 Thread Luis Lavena
On Fri, Apr 4, 2008 at 11:35 AM, Patrick Meunier <[EMAIL PROTECTED]> wrote: > This is a great news! Congratulations Pat. > +1 on that, The bdd-force within Pat is strong, and is good to see he is joining the good side of the force :-) -- Luis Lavena Multimedia systems - Human bei

Re: [rspec-users] How do you mock an object that you don't have access to?

2008-03-28 Thread Luis Lavena
t; end > end > > class B > def go > puts "This is fun." > end > end > What about: mock_b = mock(B) mock_b.stub!(:go).and_return(true) B.stub!(:new).and_return(mock_b) Something like that? -- Luis Lavena Multimedia systems - Human beings, wh

Re: [rspec-users] svn externals and git submodules

2008-03-18 Thread Luis Lavena
e to type, putting that into my brain will push out of the stack my 3 years old memories... Wouldn't be better submit some patches to Rails and make script/plugin Git-aware? -- Luis Lavena Multimedia systems - Human beings, who are almost unique in having the ability to learn from the expe

Re: [rspec-users] how do i get color with autotest on XP?

2008-02-29 Thread Luis Lavena
no longer capable of capturing the STDOUT/STDERR of the child process and thus, not displaying the result. I'm aware that win32console author is working on workaround this limitation, but no other news. HTH, -- Luis Lavena Multimedia systems - A common mistake that people make when t

Re: [rspec-users] Generated rspec video

2008-02-11 Thread Luis Lavena
les with it and failed... It seems if the source isn't captured with it, the compression is the worse you could get (200MB files for 5 minutes). -- Luis Lavena Multimedia systems - A common mistake that people make when trying to design something completely foolproof is to underestimate the

Re: [rspec-users] Generated rspec video

2008-02-11 Thread Luis Lavena
with mencoder, I can play with mplayer. >Reports on success or failure of other players welcome. weird codec combo... you should have used thedora or xvid at least :-P (cannot play or even recognize the .avi codec signature). Anyway, will look at it when switch to linux. -- Luis Lavena M

Re: [rspec-users] odd versioning issue

2008-02-04 Thread Luis Lavena
removed both > completely and installed the 1.1.3 release, and now rake spec works > but not individual files. > > Ideas? > You need to also update your rspec gem, since TM is using "spec file" and not rake HTH, -- Luis Lavena Multimedia systems - A common mistake that

Re: [rspec-users] OT local version control?

2008-02-04 Thread Luis Lavena
re is ready for integration, you then prepare and merge upstream with it. Takes some time to get used to it ;-) Anyway, at least with bzr, you can work in a similar way to subversion (running a smart server) and have bound checkout. In any case, read the documentation of all the dvcs to find th

Re: [rspec-users] OT local version control?

2008-02-03 Thread Luis Lavena
(topic branches?) which make it more attractive. In any case, the use of python in both cases make Hg and Bzr a good alternative to git. Good luck and hope you then share your findings. Regards, -- Luis Lavena Multimedia systems - A common mistake that people make when trying to design something

Re: [rspec-users] OT local version control?

2008-02-03 Thread Luis Lavena
using it to push new development of One-Click Ruby Installer [3] [1] http://bazaar-vcs.org/BzrVsGit [2] http://bazaar-vcs.org/BzrVsHg [3] http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/1e2f1b9a3d611e3b -- Luis Lavena Multimedia systems - A common mistake that people m

[rspec-users] DRb does not activate using options file

2008-01-30 Thread Luis Lavena
n't find anything besides this (rspec/lib/spec/runner/option_parser.rb:111) on(*OPTIONS[:drb]) {} == Maybe I'm missing something, did anyone get it working? Thanks in advance, -- Luis Lavena Multimedia systems - A common mistake that people make when trying to design something comp

Re: [rspec-users] Rspec 1.1.2 on Windows

2008-01-23 Thread Luis Lavena
ets/244-no-coloured-output-on-windows-due-missing-rubyopt If you have RubyGems 0.9.5, please update to 1.0.1 or revert to 0.9.4, since that specific version is broken for Windows, as I commented there and linked to my blog: http://blog.mmediasys.com/2007/12/19/latest-rubygems-and-rails-is-

[rspec-users] Trying to spec ExceptionNotifiable behavior

2008-01-22 Thread Luis Lavena
unner configuration option or before behavior that could be change. (http://rspec.info/rdoc-rails/classes/ActionController/Rescue.html#M07) What I'm doing wrong? What I'm missing? Thanks in advance for your time. Regards, -- Luis Lavena Multimedia systems - A common mistake that people m

Re: [rspec-users] Rspec 1.1.2 on Windows

2008-01-22 Thread Luis Lavena
? can you ditch vendor/plugins/rspec and rspec_on_rails and try again? It's truly odd. Can you try removing the spec.opts, spec_helper files and ran the rspec generator again? -- Luis Lavena Multimedia systems - A common mistake that people make when trying to design something completely fo

[rspec-users] RSpec 1.1.2, --colour and Windows

2008-01-21 Thread Luis Lavena
nario (pre_commit and everything) to run the specs, I assume will not affect any other place (since is just for windows). This fix problems when using rake tasks, script/spec and 'spec' script installed by rubygems. Looking forward for this made into the next version. Regards,

Re: [rspec-users] Rspec 1.1.2 on Windows

2008-01-21 Thread Luis Lavena
red-output-on-windows-due-missing-rubyopt It seems that --colour affects not only lib/runner/options.rb, but other places too. Maybe we should change the behavior for windows and revert to false if Win32/Console/ANSI is not found instead of raising a exception. David, Aslak? -- Luis Laven

Re: [rspec-users] RSpec on Ruby 1.9: before(:all) (Not Yet Implemented) pending messages instead of tests

2007-12-29 Thread Luis Lavena
already been applied, but not the change to > options.rb. I'm not sure I see any relationship between that and > problems you might be experiencing with 1.9 (unless win32console does > not yet support 1.9). Feel free to submit a ticket to the tracker on > this one. David, will n

Re: [rspec-users] Attachment-fu + Story Runner

2007-12-11 Thread Luis Lavena
ad of a relative one (../spec/fixtures) provide one related to RAILS_ROOT, which will work no matter where you put your helper or what is your current directory (Dir.chdir). HTH, -- Luis Lavena Multimedia systems - A common mistake that people make when trying to design something completely foolproo

Re: [rspec-users] Rollbacks, Sqlite3 bug. Has this been reintroduced ?

2007-11-29 Thread Luis Lavena
e.org/projects/sqlite-ruby/ [2] http://rubyforge.org/tracker/index.php?func=detail&aid=10765&group_id=254&atid=1043 -- Luis Lavena Multimedia systems - Leaders are made, they are not born. They are made by hard effort, which is the price which all of u

Re: [rspec-users] rspec.opts

2007-11-24 Thread Luis Lavena
an internal or external command, > operable program or batch file. > > C:\var\RSpec\depot>ruby script/spec --help # works better > That's because you didn't installed rspec as 'gem' beside as plugin: gem install rspec that will enable the 'spec' comman

Re: [rspec-users] Possible Problem with RSpec and

2007-11-24 Thread Luis Lavena
ing" the wrong question to your model? (not tested code) it "should have a title" do @product = Product.new(:title => nil) @product.should_not be_valid @product.should have_at_least(1).errors_on(:title) end also, versions of ruby, rails, rspec and database engine are helpful t

Re: [rspec-users] [ANN] Lighthouse and Engine Yard sponsorships

2007-11-21 Thread Luis Lavena
to-date repository "cross-platform accessible" I'll be happy. -- Luis Lavena Multimedia systems - Leaders are made, they are not born. They are made by hard effort, which is the price which all of us must pay to achieve any goal that is worthwhile. Vince Lombardi ___

Re: [rspec-users] [ANN] Lighthouse and Engine Yard sponsorships

2007-11-19 Thread Luis Lavena
On Nov 19, 2007 1:21 AM, Kevin Williams <[EMAIL PROTECTED]> wrote: > On 11/18/07, Luis Lavena <[EMAIL PROTECTED]> wrote: > > On Nov 18, 2007 9:57 PM, Kevin Williams <[EMAIL PROTECTED]> wrote: > > > I don't intend to use RSpec source either, but I suspect

Re: [rspec-users] [ANN] Lighthouse and Engine Yard sponsorships

2007-11-18 Thread Luis Lavena
eed to "update" your plugins (rspec and rspec_on_rails) if a bug you found with the release got fixed in the repository. -- Luis Lavena Multimedia systems - Leaders are made, they are not born. They are made by hard effort, which is the price which all of us must pay to achieve any g

Re: [rspec-users] Who's using --format rdoc

2007-11-11 Thread Luis Lavena
emove it? (I can't imagine > anyone using it, especially with the much better HTML formatter) > Go ahead, I didn't know was there :-P HTML output is more fancy than RDoc ;-) -- Luis Lavena Multimedia systems - Leaders are made, they are not born. They are made by hard effort, whic

Re: [rspec-users] plain text stories

2007-10-24 Thread Luis Lavena
o on... > Is it possible for this to be a separate library from RSpec so that > RSpec core doesn't become bloated? AFAIK, spec and stories run in different paths. you can just ignore the stories part and keep using the spec one. -- Luis Lavena Multimedia systems - Leaders are made, they

Re: [rspec-users] Top Quoting?

2007-10-15 Thread Luis Lavena
ious or what email before that... Take some time look for it, but anyone could do it -- I personally dislike this method :-P -- Luis Lavena Multimedia systems - Leaders are made, they are not born. They are made by hard effort, which is the price which all of us must

Re: [rspec-users] how to spec views

2007-10-01 Thread Luis Lavena
_tag expect 'tag' and 'content'... There was a previous discussion on how to assert on HTML element attributes. http://rubyforge.org/pipermail/rspec-users/2007-September/003205.html -- Luis Lavena Multimedia systems - Leaders are made, they are not born. They are made

Re: [rspec-users] mock_model named spaces not working

2007-09-28 Thread Luis Lavena
Could work for you? The whole spec will be helpful, since we don't have the setup (before) or the whole context. HTH, -- Luis Lavena Multimedia systems - Leaders are made, they are not born. They are made by hard effort, which is the price which all of us must pay to achieve any goal that is wo

Re: [rspec-users] RSpec + EdgeRails on Windows

2007-09-27 Thread Luis Lavena
requires ActiveResource, and the rake freeze:edge:rails don't checkout it. Your options: A) Use Piston to checkout Rails Edge: piston import http://svn.rubyonrails.org/rails/trunk/ vendor/rails (your code should be under version control) B) Manually checkout it the missing part svn co http

Re: [rspec-users] controller.expect_render has me beat!

2007-09-14 Thread Luis Lavena
you run just that example: spec spec\controllers\my_controller_spec.rb -e "My failing example name" -- Luis Lavena Multimedia systems - Leaders are made, they are not born. They are made by hard effort, which is the price which all of us must pay to achieve any goal that i

Re: [rspec-users] Failure Messages in RSpec + inline debugging of a spec

2007-09-09 Thread Luis Lavena
> Finally, a debugging environment that matches the production environment! > I agree. When debug is required, I switch to script/spec and specify the exact file and specification to run, in that way, reduce the problems loading ruby-debug and getting my feet wet with Rails code :) -- Lui

Re: [rspec-users] Failure Messages in RSpec

2007-09-04 Thread Luis Lavena
tes added later in the development phase). As David himself said on that post: " Perfect use of custom matchers! Nice. Cheers, David " :-D -- Luis Lavena Multimedia systems - Leaders are made, they are not born. They are made by hard effort, which is the price which all of us must pay

Re: [rspec-users] Invite from Ben Askins ([EMAIL PROTECTED])

2007-09-03 Thread Luis Lavena
007." Yeah, Ben agreed that Quechup will log into his account, grab all their contacts and mass mail them, without a bit of logic to disregard/filter mailing lists addresses... I love those sites... too viral for my taste :-P Also, another facebook clone hits the web... I even don't lik

Re: [rspec-users] Can module spec use fixtures?

2007-08-22 Thread Luis Lavena
s for your model in that specified context, make it shared and later do it_should_behave_like '...' ? As previous discussed inthe list, creating specs for especific functionality (like the acts_as_list thread) will make your specs brittle. Expecting results (which the aim of BDD) is more helpf

Re: [rspec-users] Upgrade to 1.0.8 broke Rake

2007-08-14 Thread Luis Lavena
A follow up... On 8/14/07, Luis Lavena <[EMAIL PROTECTED]> wrote: > Hello Guys. > > I'm upgrading a project from 0.9.8 to 1.0.8, following this procedure: > First, is 0.9.4 :-) > > Now, when running rake, get the following error: superclass mismatch > for cl

  1   2   >