On Fri, Jan 9, 2009 at 6:37 AM, Tero Tilus wrote:
> 2009-01-08 07:37, David Chelimsky:
>> I'd grab the 1.1.12 release candidates from github:
>>
>> gem sources -a http://gems.github.com
>> [sudo] gem install dchelimsky-rspec
>> [sudo] gem install dchelimsky-rspec-rails
>
> It gives me 1.1.11.6. I
2009-01-08 07:37, David Chelimsky:
> I'd grab the 1.1.12 release candidates from github:
>
> gem sources -a http://gems.github.com
> [sudo] gem install dchelimsky-rspec
> [sudo] gem install dchelimsky-rspec-rails
It gives me 1.1.11.6. Is that a "1.1.12 release candidate"?
Could I git clone 1.1.1
On Thu, Jan 8, 2009 at 3:56 AM, Tero Tilus wrote:
> Forgot to mention before. I'm on Rails 2.2.2 and RSpec 1.1.4.
Aha! There's the problem. RSpec-1.1.4 was released in May and Rails
2.2.2 was released AFTER in November.
I'd grab the 1.1.12 release candidates from github:
gem sources -a http://
Forgot to mention before. I'm on Rails 2.2.2 and RSpec 1.1.4.
Inspired by older discussion touching this issue (see
http://www.nabble.com/Database-clearing-td19572270.html) I've now got
Spec::Runner.configure do |config|
config.use_transactional_fixtures = false
...
tables_to_truncate =
2009-01-07 23:23, Tero Tilus:
> 2009-01-07 13:08, David Chelimsky:
> > Is the app code opening transactions?
>
> Yes, but only one spot (iirc) which is not anywhere near the model
> whose test is failing here. I'll verify tomorrow that the failing
> test really doesn't run the app code in questio
2009-01-07 13:08, David Chelimsky:
> Is the app code opening transactions?
Yes, but only one spot (iirc) which is not anywhere near the model
whose test is failing here. I'll verify tomorrow that the failing
test really doesn't run the app code in question.
--
Tero Tilus ## 050 3635 235 ## http
On Wed, Jan 7, 2009 at 8:11 AM, Tero Tilus wrote:
> I assume there's now something I'm totally missing here.
>
> I'm creating stuff in examples, just plain Foo.create, and the results
> aren't getting rolled back. I'm keep getting the following kind of
> pattern in my logs
>
> ... log from examp
2009-01-07 13:04, Stephen Eley:
> config.use_transactional_fixtures in config.spec_helper.rb?
Tried true, false and commenting out. I could not see any difference.
--
Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
___
rspec-users mailing list
rs
On Wed, Jan 7, 2009 at 9:11 AM, Tero Tilus wrote:
>
> I'm creating stuff in examples, just plain Foo.create, and the results
> aren't getting rolled back. I'm keep getting the following kind of
> pattern in my logs
You probably thought about this already, but did you check the setting
of config.
I assume there's now something I'm totally missing here.
I'm creating stuff in examples, just plain Foo.create, and the results
aren't getting rolled back. I'm keep getting the following kind of
pattern in my logs
... log from example starts here ...
SQL (0.0ms) BEGIN
SQL (0.0ms)
10 matches
Mail list logo