[rspec-users] New setup error. no such file to load -- spec/story

2009-05-17 Thread Jason Calleiro
gems: rspec (1.2.6) rspec-rails (1.2.6) cucumber (0.3.4, 0.3.2) webrat (0.4.4) Just got my new machine (I'm learning rails, im a front end designer). pulled a repo that we've been working on to run rake and get started and im getting this error. /Library/Ruby/Site/1.8/rubygems/custom_require.rb:3

Re: [rspec-users] Including extra directories for Autospec

2009-05-17 Thread Adam Anderson
I'm really not sure what I'm doing wrong so I tried started from scratch still with no positive results. Here's my setup: rails 2.3.2 rspec 1.2.6 rspec-rails 1.2.6 ZenTest 4.0.0 Here's what I did: $ rails foo $ cd foo $ ./script/generate rspec $ ./script/generate rspec_model Bar $ rake db:migrate

Re: [rspec-users] Including extra directories for Autospec

2009-05-17 Thread David Chelimsky
On Sun, May 17, 2009 at 11:45 AM, Adam Anderson wrote: > Is there a way to tell autospec for rails to run _all_ the spec files > in the spec directory a la spec/**/*_spec.rb instead of just the ones > in model/controller/etc? I've experimented with adding my own mappings > in /.autotest but haven'

Re: [rspec-users] Rails HTML error page in the console.

2009-05-17 Thread Matt Wynne
On 13 May 2009, at 16:13, Ben Mabey wrote: Matt Wynne wrote: I'm still bugged by the fact that when I get an exception during a feature run (e.g. Couldn't find partial) then what I see in the console is all the HTML to report that error in a browser. I have had a few ideas for this bubbli

Re: [rspec-users] Rails HTML error page in the console.

2009-05-17 Thread Matt Wynne
On 13 May 2009, at 11:40, Ben Lovell wrote: On Wed, May 13, 2009 at 8:42 AM, Matt Wynne > wrote: This is definitely something that irks me regularly too. If the HTML displayed were more focused to the actual section that was under inspection that would be hella nice. Although, I realise this

[rspec-users] Including extra directories for Autospec

2009-05-17 Thread Adam Anderson
Is there a way to tell autospec for rails to run _all_ the spec files in the spec directory a la spec/**/*_spec.rb instead of just the ones in model/controller/etc? I've experimented with adding my own mappings in /.autotest but haven't had any luck. ___

Re: [rspec-users] Can I run the same specs with different gems? Ideas?

2009-05-17 Thread Rick DeNatale
On Sun, May 17, 2009 at 9:46 AM, Rick DeNatale wrote: > So I tried to make a spectask to run the specs after require in > activesupport by adding this in my rake file: > > desc "Run all specs with activesupport" > Spec::Rake::SpecTask.new(:spec_as) do |t| >  t.spec_opts = ['--options', "spec/spec

Re: [rspec-users] what's wrong with my newbie cucumber test?

2009-05-17 Thread James Byrne
Zhenning Guan wrote: > > when I run rake features. > == > Scenario: List Tasks# features/forums.feature:6 > When I go to the homepage # features/forums.feature:7 > Ambiguous match of "I go to the homepage": > > features/step_definitions/webrat_steps.rb:10:in `/^I go to (.

Re: [rspec-users] Can I run the same specs with different gems? Ideas?

2009-05-17 Thread Rick DeNatale
On Sat, May 16, 2009 at 11:57 AM, David Chelimsky wrote: > On Fri, May 15, 2009 at 11:50 AM, Rick DeNatale > wrote: >>  Ideally I'd like to >> have rake tasks like >> >> rake spec:tzinfo >> rake spec:activesupport >> rake spec:both >> >> The problem is that I think I need something like the for

Re: [rspec-users] what's wrong with my newbie cucumber test?

2009-05-17 Thread Øystein Ellingbø
You already have a built in step "I go to". Check out features/step_definitions/webrat_steps.rb line 10. What you want to do is define "the homepage" in features/support/paths.rb. Well, actually this one is already defined to go to "/" but you can change it as you like. Hope that helps :) - Øys

Re: [rspec-users] cucumber-java

2009-05-17 Thread Raymond Barlow
OK, that seemed to help a bit. That installed a bunch of stuff, and then I did the mvn clean package in the examples directory--which built the example jar. So I guess my next step would be to cucumber features in the featuers directory of the simple example? I tried this a got an error about pic

Re: [rspec-users] Can I run the same specs with different gems? Ideas?

2009-05-17 Thread David Chelimsky
On Fri, May 15, 2009 at 11:50 AM, Rick DeNatale wrote: > I have a new icalendar Ruby library/gem which is implemented so as > require an implementation of the TZInfo::Timezone class, but not to > care whether that implementation comes from the tzinfo gem, or the > activesupport gem in rails.  It a