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,
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.
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
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 ch...@silhouettesolutions.net
wrote:
Ben that worked perfectly I appreciate the help.
Stephen, I
On Jul 21, 9:43 pm, Stephen Eley sfe...@gmail.com wrote:
2009/7/21 internetchris ch...@silhouettesolutions.net:
When writing specs for controllers am I always
going to mock the model? Are controllers always isolated from the
actual model?
Hi Chris,
Pretty insightful of you
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 t...@experthuman.com wrote:
Hi Chris,
On 16 Jul 2009, at 04:14, Chris Sund
Very nice the ability to see your workflow helps me a ton. I guess
I needed to see what other developers did. I have a project that I
started, but then quit until I nailed down the testing. I will have to
catch up on the code I have already written, but I'm grasping the
cucumber and rspec
Thanks, that helps me understand better.
On Jul 12, 1:48 pm, Scott Taylor sc...@railsnewbie.com 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...
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
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 ch...@silhouettesolutions.net
wrote
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 dchelim...@gmail.com wrote:
On Mon, Jul 6, 2009 at 12:51 PM, Chris
11 matches
Mail list logo