Re: [rspec-users] What does a skilled BDD-/RSpec-er want in a job?

2008-09-07 Thread Bryan Liles
RSpec is a tool, it should be in face *minimally* (yes, this is important!) A job description that mentioned RSpec explicitly would signal a red flag to me. On Sun, Sep 7, 2008 at 4:25 PM, Mark Wilden <[EMAIL PROTECTED]> wrote: > On Sun, Sep 7, 2008 at 1:14 PM, Ashley Moran < > [EMAIL PROTECTED

Re: [rspec-users] CC.rb and RSpec

2008-01-18 Thread Bryan Liles
On Jan 18, 2008, at 2:40 PM, Bryan Liles wrote: > When trying to configure a rspec 1.1.2 based app in CC.rb, I came > across the following: > > . > > I had a solution that would monkey patch over this, but now I'm > looking for some help in actually explaining why

[rspec-users] CC.rb and RSpec

2008-01-18 Thread Bryan Liles
When trying to configure a rspec 1.1.2 based app in CC.rb, I came across the following: /home/bryan/cruisecontrolrb-1.2.1/projects/support-engines/work/vendor/ plugins/rspec_on_rails/lib/spec/rails/../../../../rspec/lib/spec/ runner/options.rb:218:in `files_to_load': File or directory not foun

Re: [rspec-users] Problems with rspec 1.1 required inside rake tasks

2008-01-08 Thread Bryan Liles
On Jan 8, 2008, at 10:55 AM, Matt Patterson wrote: > > > When you invoke rake to do something, say check_manifest > > >> rake check_manifest >> > > You wind up with a Runtime error, as follows: > > >> /usr/local/lib/ruby/gems/1.8/gems/rspec-1.1.1/lib/spec/runner/ >> options.rb:216:in `files_to_loa

Re: [rspec-users] How to run stories with `spec' command?

2008-01-01 Thread Bryan Liles
On Dec 31, 2007, at 9:22 PM, Chiyuan Zhang wrote: > Hmm, Thanks for your suggestion. I suppose the document of stories > for rspec is not complete yet? Maybe the file layout suggestion could > be included in the document. > > ps: Happy New Year to all! Stories are still a moving target. I was s

Re: [rspec-users] How to run stories with `spec' command?

2007-12-31 Thread Bryan Liles
On Dec 31, 2007, at 5:55 AM, Chiyuan Zhang wrote: > Hi, all! > > I have a story steps array.rb and the story array.story. I > can run it with > > ruby array.rb > > But when I execute > > spec array.rb > > nothing happened. I'm wondering how can I use spec command to > execute stories? (executin

[rspec-users] rspec story directory structure

2007-12-22 Thread Bryan Liles
I've been thinking about the structure of the rspec story stuff, and I've come up with this for my first post: stories/ # top level to contain all of our story related stuff stories/helper.rb # top level helper stories/helpers/ # other helpers like custom matchers and other libs stories/st

Re: [rspec-users] Stylistic preferences

2007-12-03 Thread Bryan Liles
On Nov 29, 2007, at 5:54 AM, Daniel Tenner wrote: > What are people's opinions on which of these two styles is better to > use? > > > it "should be possible to disable the number" do > given(valid_sms_user) do |user| > user.save > user.disable_number > user.should be_disab

[rspec-users] custom matcher tutorial

2007-11-26 Thread Bryan Liles
I wrote some quick notes up on a custom matcher I wrote around a pattern that I am using constantly. http://smartic.us/2007/11/26/rspec-matcher-for-active-record-associations You could use it as a custom matcher tutorial for the uninitiated or as a possible solution for validations specs for

[rspec-users] new screencast on rspec

2007-10-16 Thread Bryan Liles
http://tinyurl.com/2bolrs I'm working on a series of screencasts on RSpec and BDD. This first iteration is on the real basics. ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] how do I get the beautiful html rspec results in textmate?

2007-09-17 Thread Bryan Liles
On Sun, 2007-09-16 at 21:43 -0400, Andrew WC Brown wrote: > I'm going through PeepCode RSpec Basics and he gets a beautiful rspec > results page in html when he presses a hotkey in TextMate. > I would guess it's along the lines of Apple + R but I don't get the > same results and I'm using the same

Re: [rspec-users] changes to TextMate bundle

2007-09-10 Thread Bryan Liles
On Sep 10, 2007, at 11:41 AM, Bryan Liles wrote: > > These patches are in trunk already? > Yes they are. r2544 | dchelimsky | 2007-09-08 17:43:01 -0400 (Sat, 08 Sep 2007) | 1 line reworked textmate bundle shor

Re: [rspec-users] changes to TextMate bundle

2007-09-10 Thread Bryan Liles
On Sep 8, 2007, at 5:59 PM, David Chelimsky wrote: > Hi all, I got some help from James Edward Gray II on the RSpec > TextMate bundle. For those of you who don't know James, he runs the > Ruby Quiz and also maintains the official TM bundle. > > Per a couple of patches from him and some advice tha

Re: [rspec-users] Content assist for spec files

2007-09-05 Thread Bryan Liles
On Sep 5, 2007, at 7:05 PM, Tor Norbye wrote: > > The problem is that when I'm looking at a spec file, there are no > require-statements. Obviously, the methods I see called in the spec > files must be defined by the test runner itself before running the > spec file. > > Can somebody enlighten me