[rspec-users] Rspec book review...

2009-07-23 Thread Chris Sund
Hey everyone, I just thought I would provide some feedback on my experience with the rspec book - I "just" finished it. I'll explain my background a little bit so you can see how I was influenced and how well I feel I absorbed the information. My background is in desktop application development

[rspec-users] What else should I include in this model spec?

2009-07-23 Thread Chris Sund
Hey everyone, I just created a spec for an existing model I already developed prior to reading the rspec book. I have 5 examples and they are all passing. I'm just not sure what else I need to add or how I implement it. In this model I have some methods for adding existing names to an account, and

[rspec-users] My very fist spec file (not sure what's wrong..)

2009-07-20 Thread Chris Sund
Hey Everyone, I am finally to the point in the rspec book where it describes how to implement controller specs, so I thought what the heck, I'll give it a try. I have an app I have been working on (Inside out) that I needed to get test specs written for before I continue on with the app. Now that

[rspec-users] noob question (trying to understand view specs vs webrat and cucumber)...

2009-07-15 Thread Chris Sund
Hey Everyone, I've been reading the rspec book, and I'm trying to tie everything together, but I'm a little confused. Keep in mind this is my first introduction to TDD/BDD. When it came to testing my rails app I jumped into learning rspec before I ever tried to using any of the built in test:unit

[rspec-users] explanation of "describe" vs "context"...

2009-07-11 Thread Chris Sund
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... describe Game do context "starting up" do it "should send a welcome message" do @messenger.should_receive(:puts).

[rspec-users] Noob syntax questions regarding rspec book...

2009-07-07 Thread Chris Sund
Hey Everyone, I've been working my way through the Rspec book trying to absorb and understand everything. This is my first time with BDD and I'm just trying to figure out some simple syntax stuff. My questions revolve around some of the syntaxing used in the book. These are really simple questions

[rspec-users] Rspec book issue (mastermind example)

2009-07-06 Thread Chris Sund
Hey Everyone, Just a simple question. I have read and re-read the examples and I'm not getting the proper output. I'm on page 73/74 of the Rspec book and it says I should have "4 steps passed". I think the problem is within my /step_definition/mastermind.rb" file. It's definitely not beyond me to