Hi,
On Thu, Jun 25, 2009 at 5:03 AM, Tom Hoen wrote:
> I tried to vote a +1, but get this after clicking the Comment button:
>
> There was a problem serving the requested page.
>
> Now you're wondering, "what can I do about it!?!". Well...
That's lame. votes have been coming in on other issue
On 1 Jul 2009, at 18:14, Zach Dennis wrote:
On Wed, Jul 1, 2009 at 1:10 PM, Pat Maddox
wrote:
On Sun, Jun 28, 2009 at 11:56 AM, Sarah
Allen wrote:
I find that testing views independently is useful just to catch
HTML errors
that can sometime creep in during a re-factor. These check
impor
On Sun, Jun 28, 2009 at 10:32 AM, Jesse Crockett wrote:
> Hello,
>
> I've been trying for two years to pick up BDD. I'm making progress,
> have just read through the chapters in The RSpec Book on spec'ing views
> and controllers.
>
> What is the difference between using integrate_views and doing w
On Wed, Jul 1, 2009 at 1:10 PM, Pat Maddox wrote:
> On Sun, Jun 28, 2009 at 11:56 AM, Sarah Allen wrote:
>> I find that testing views independently is useful just to catch HTML errors
>> that can sometime creep in during a re-factor. These check important
>> details that would be more tedious usin
On Sun, Jun 28, 2009 at 11:56 AM, Sarah Allen wrote:
> I find that testing views independently is useful just to catch HTML errors
> that can sometime creep in during a re-factor. These check important
> details that would be more tedious using cucumber
+1
Pat
___
On 1 Jul 2009, at 12:48, Fernando Perez wrote:
Is there a way for RSpec to skip the filters in tests? Or to stop
ApplicationController to derive from SiteController?
That's a perfect use case for mocks and/or stubs.
Indeed. Another way to do this is to test a special subclass of
SiteContro
I got it to work in ruby, but I have to start the selenium servver
manualy before I runn the program. That is unesesary mutch work and
complicated. Is there a way to start the selenium server inside the code
and stop it at the end?
Here is a code example i got to work... it is a bit messy
> Is there a way for RSpec to skip the filters in tests? Or to stop
> ApplicationController to derive from SiteController?
That's a perfect use case for mocks and/or stubs.
--
Posted via http://www.ruby-forum.com/.
___
rspec-users mailing list
rspec-user
Hi,
I'm working on a legacy app - it was created in 1.2.5 then over time
ported to 2.3. It has absolutely no tests - and I'm trying to fix that
in between adding new functionality.
My problem right now is that my ApplicationController is running
before_filters for setting different request variab
If your controllers are fat, test in isolation. For skinny
controllers I will sometimes forgo controller specs altogether and
implicitly verify the integration through cucumber features.
Sometimes there's something funky that makes the cucumber failure
output difficult to interpret, and controller
10 matches
Mail list logo