[rspec-users] spec_helper getting reloaded after specs run under Textmate/Spork

2009-11-20 Thread Elliot Winkler
I'm having the hardest time trying to figure out something weird I've suddenly run into. So I'm using Spork to run my specs. Naturally I've got TM_RSPEC_OPTS in Textmate set to --drb and I'm running `spork` from the command line to fire up the Spork server. However, if I have a spec file open i

[rspec-users] Introductory recommendations?

2009-11-20 Thread Jon Pincus
Hi all, I'm with a team of engineers who are new to RSpec, and I'm looking for some good introductory material. Ideally it would be something like the two-part Railscast on Cucumber ( http://asciicasts.com/episodes/155-beginning-with-cucumber ) which doesn't assume detailed knowledge of TDD. I f

Re: [rspec-users] autospec not detecting new files

2009-11-20 Thread Andy Koch
YES!! that was it... [~/gits/perforcer] a...@hst-26-147 (master)->mv spec/controllers/ perforce_logs_controller_spec.rb spec/controllers/ perforce_controller_spec.rb [~/gits/perforcer] a...@hst-26-147 (master)->autospec loading autotest/rails_rspec /opt/local/bin/ruby /opt/local/lib/ruby/gems/1

Re: [rspec-users] autospec not detecting new files

2009-11-20 Thread Stephen Eley
On Fri, Nov 20, 2009 at 1:35 PM, Andy Koch wrote: > > Autospec doesn't run the "perforce_logs...spec.rb" files.  As shown > here... Random theory: try renaming the files temporary to remove the word "log" from the name. I'm wondering if it might be a wildcard matcher somewhere in the chain that

Re: [rspec-users] autospec not detecting new files

2009-11-20 Thread Andy Koch
Hi David, I think it's standard directory structure... a...@hst-26-147 (master)->tree spec/ spec/ |-- controllers | |-- perforce_logs_controller_spec.rb | |-- public_controller_spec.rb | |-- user_sessions_controller_spec.rb | |-- user_sessions_routing_spec.rb | `-- users_controller_spec

Re: [rspec-users] autospec not detecting new files

2009-11-20 Thread David Chelimsky
On Fri, Nov 20, 2009 at 7:25 AM, Andy Koch wrote: > On Nov 19, 10:22 pm, Stephen Eley wrote: > > On Fri, Nov 20, 2009 at 1:02 AM, Andy Koch > wrote: > > > > > I have a project where autospec is not adding new files to it's test > > > list. > > > > Autotest (which autospec is really just a wrapp

Re: [rspec-users] autospec not detecting new files

2009-11-20 Thread Andy Koch
Yes, unfortunately that's the problem I'm experiencing. Ctl-C isn't refreshing to find the new files. I stop completely and restart and still no luck. I've added (for a Rails app) a new controller and helper spec file and they only run if I "spec ..." or "rake spec". autospec (autotest) seems s

Re: [rspec-users] Gemspec development dependencies seems to be messed up

2009-11-20 Thread David Chelimsky
On Fri, Nov 20, 2009 at 5:26 AM, grimen wrote: > OK, I noticed this only happen on Ruby 1.9 and jruby. Seems to be > native compilation errors, but I don't get why all these should be > installed: > > Successfully installed prawn-core-0.5.1 > Successfully installed prawn-layout-0.3.2 > Successful

Re: [rspec-users] Gemspec development dependencies seems to be messed up

2009-11-20 Thread grimen
OK, I noticed this only happen on Ruby 1.9 and jruby. Seems to be native compilation errors, but I don't get why all these should be installed: Successfully installed prawn-core-0.5.1 Successfully installed prawn-layout-0.3.2 Successfully installed echoe-4.0 Successfully installed prawn-format-0.2

Re: [rspec-users] Running simple rspec, no output

2009-11-20 Thread bqaanne
Problem solved. I was being an idiot. I type in "spec bowling_spec.rb" at command line. And installed the text mate bundle as suggested to allow text mate to display the results. bqaanne wrote: > > > >>What command are you using from the command line? And what about in >>textmate? Do you hav

Re: [rspec-users] Running simple rspec, no output

2009-11-20 Thread bqaanne
>What command are you using from the command line? And what about in >textmate? Do you have the RSpec tmbundle installed? When I run from the command line I use "ruby bowling_spec.rb" and it appears to just do nothing, but no errors are thrown. When I run in text mate, i just save the file and