Re: [rspec-users] using shared_context in a global way

2012-04-26 Thread dchelim...@gmail.com
On Sunday, April 1, 2012 9:34:00 PM UTC-5, Bradley wrote: > > I have some let and before declarations that I want to define for all of > my tests. I can't seem to figure out how to do this in a clean way (ie by > including a module in my Rspec config). I don't want to have to > include_context

Re: [rspec-users] Fwd: Issue with AR::Base descendants with certain argument

2010-10-31 Thread dchelim...@gmail.com
On Oct 28, 7:40 am, Alexey Ilyichev wrote: > I have made 2 examples for this and I can't figure out how to make both > pass. Take a look please: > > require 'spec_helper' > > describe "Mock" do >   class A >     def self.method_missing(name, *args, &block) >       '*a_method_missing*' >     end

Re: [rspec-users] rspec2 help output has brackets?

2010-07-20 Thread dchelim...@gmail.com
On Jul 19, 9:20 am, Wincent Colaiuta wrote: > El 19/07/2010, a las 15:52, David Chelimsky escribió: > > > > > > > On Jul 19, 2010, at 8:17 AM, rogerdpack wrote: > > >> Hi all. > > >> Saw this: > > >> Usage: rspec [options] [files or directories] > >>   -b, --backtrace                  Enable ful

Re: [rspec-users] [Rails] Can't get controller test working with RSpec 2 and edge Rails 3

2010-06-25 Thread dchelim...@gmail.com
On Jun 25, 9:21 pm, David Chelimsky wrote: > On Jun 25, 2010, at 5:02 PM, Patrick Gannon wrote: > > > > > > > Not sure if this is a Rails 3 issue or an RSpec 2 issue, but I can't seem > > to get a standard controller test working - it seems that the 'get' method > > can't be found. > > > I hav

Re: [rspec-users] How do I stub a view in rspec-2

2010-06-08 Thread dchelim...@gmail.com
On Jun 8, 12:15 pm, David Chelimsky wrote: > On Jun 8, 2010, at 10:26 AM, Trey Bean wrote: > > > > > > > Hi, > > > I'm in the process of upgrading an app to Rails 3/Rspec 2.  I see that > > stubbing a view helper method has changed in Rspec 2.  It looks like > > instead of doing template.stub!,

Re: [rspec-users] Rails 3, Rspec 2, Autotest

2010-05-12 Thread dchelim...@gmail.com
On May 9, 8:43 am, Scott Woods wrote: > I get a slightly different error when following the gist. Here is my > error, in case the extra data point helps: > > $ autotest > loading autotest/rails_rspec_rspec2 > Error loading Autotest style autotest/rails_rspec_rspec2 (no such file > to load -- autot

Re: [rspec-users] no should raise_exception

2009-12-29 Thread dchelim...@gmail.com
On Dec 28, 2:33 pm, David Chelimsky wrote: > So we're going to leave it as raise_error for now. If you'd like to push on > this (which you're welcome to), please add a ticket to lighthouse so it's > easy to find the discussions around it. If we can get general consensus that > this would be a good