Hi Group,
I'm finally taking the time to implement tests in some of my old apps.
I'm using Rails 2.3.5, Rspec 1.3.1, Rspec-rails 1.3.3, and capybara.
Here's an example of my first test, but I'm wondering how I setup the
login routine so I can use it in future specs without repeating the
method. S
Hi Group
I'm still waiting for the light to come on with stubbing/mocking and
the syntax for each. I have simple method in my Order class like
so
def credit_card
ActiveMerchant::Billing::CreditCard.new(
:type => card_type,
:number => card_number,
Beautiful, that worked great. I sent an e-mail to the pragmatic
support people to get the latest version of the book. For some reason
it's not showing up in my Bookshelf.
Thanks David
On Jul 6, 12:01 pm, David Chelimsky wrote:
> On Mon, Jul 6, 2009 at 12:51 PM, Chris
>
>
>
> Sund wrote:
> > Hey
Hey everyone,
I appreciate the replies. After I posted I realized I was looking at
ruby code. It seems this is where my learning curve is going to take a
leap. I understand Rails, I am starting to understand Rspec and
Cucumber, and I understand programming. This is my second language,
but it's the
In addition - Ben thanks for the link, I just checked it out. Rubular
seems like an awesome little tool and I will bookmark the page. I
really appreciate all of the help and hope I can return the favor one
day.
Thanks!
Chris
On Jul 8, 10:43 pm, internetchris
wrote:
> Hey everyone,
&g
Thanks, that helps me understand better.
On Jul 12, 1:48 pm, Scott Taylor wrote:
> Chris Sund wrote:
> > Hey everyone,
>
> > This is a noob question. I'm not grasping the difference between
> > "describe" and "context" in my spec file. As an example, what's the
> > difference with this...
>
> > d
Tom,
I appreciate the reply...
So would I be correct in saying that I should develop all of my spec
tests first, and then finish it up by running some cucumber tests?
Thanks!
Chris
On Jul 15, 11:34 pm, Tom Stuart wrote:
> Hi Chris,
>
> On 16 Jul 2009, at 04:14, Chris Sund wrote:
>
> > Can som
rspec correlation now. On anything new I will start with
Cucumber and then to rspec to iron out the actual code.
Thanks!
Chris
On Jul 16, 12:47 am, Andrew Timberlake
wrote:
> On Thu, Jul 16, 2009 at 7:46 AM,
>
> internetchris wrote:
> > Tom,
>
> > I appreciate the reply...
&
Ben that worked perfectly I appreciate the help.
Stephen, I appreciate the encouragement, it feels daunting to be
learning all of this at once, but each day I bite off a little more
understanding. It's funny you mention scuba diving - "way back when"
right out of high school I thought it would be
hat's the case then using cucumber with webrat is
the only time I will test the complete stack right? Just wondering if
I understand this correctly.
Thanks
Chris
On Jul 21, 9:25 am, internetchris
wrote:
> Ben that worked perfectly I appreciate the help.
>
> Stephen, I appreciate th
t; understand it so I can develop better apps.
Thanks again!
Chris
On Jul 21, 9:43 pm, Stephen Eley wrote:
> 2009/7/21 internetchris :
>
> > When writing specs for controllers am I always
> > going to mock the model? Are controllers always isolated from the
> > actual mo
11 matches
Mail list logo