Re: [rspec-users] Lib Specs and config.use_transactional_fixtures = true

2008-03-16 Thread Shane Mingins
On 14/03/2008, at 10:14 PM, David Chelimsky wrote: > On Fri, Mar 14, 2008 at 1:31 AM, Shane Mingins > <[EMAIL PROTECTED]> wrote: >> Hi >> >> We have specs in our rails project other than model/view/ >> controller .. >> we have interests and lib ... >> >> using use_transactional_fixtures = true

Re: [rspec-users] Branching scenarios, GivenScenario and database

2008-03-16 Thread Pat Maddox
On Sun, Mar 16, 2008 at 7:37 AM, Rick DeNatale <[EMAIL PROTECTED]> wrote: > Okay, right now, I'm not actually using rails stories since I'm > working through pure business logic sans a UI so there's been no need > for Rails "integration" testing. > > On the other hand I guess it wouldn't hurt t

Re: [rspec-users] Branching scenarios, GivenScenario and database

2008-03-16 Thread Rick DeNatale
On 3/16/08, David Chelimsky <[EMAIL PROTECTED]> wrote: > On Fri, Mar 14, 2008 at 8:12 PM, Rick DeNatale <[EMAIL PROTECTED]> wrote: > > I'm trying to use stories to drive some high-level design. > > ... So far it's been working fairly well, > > but I've run into a few quirks. > > > > 1) I've

Re: [rspec-users] [HELP]No :secret given to the #protect_from_forgery call

2008-03-16 Thread Camilo Torres
Thanks Mike, your comment lead me to the answer: I was using the development environment to make the tests. I didn't realized there were some difference between the environments (not guessed it). When I started the project, I edited spec/spec_helper.rb (and also stories/helper.rb) and changed ENV

Re: [rspec-users] Branching scenarios, GivenScenario and database

2008-03-16 Thread David Chelimsky
On Fri, Mar 14, 2008 at 8:12 PM, Rick DeNatale <[EMAIL PROTECTED]> wrote: > I'm trying to use stories to drive some high-level design. > > > I've got some branching scenarios where I want to follow a scenario, > to establish a base situation, and then have different scenarios which > 'branch' ou

[rspec-users] Corrupt rspec_on_rails tar file?

2008-03-16 Thread Mikel Lindsaar
I just downloaded rspec_on_rails-1.1.3.tgz onto a mac on OSX 10.4 and another computer (Ubuntu 7.10) and I get the same tar errors when I try to decompress: rspec_on_rails-1.1.3/spec_resources/views/view_spec/implicit_helper.rhtml rspec_on_rails-1.1.3/spec_resources/views/view_spec/multiple_helper