Ok Using rails 1.2.3 > rails trunk-error -d sqlite3 > cd trunk-error > ruby script/plugin install svn://rubyforge.org/var/svn/rspec/trunk/rspec > ruby script/plugin install svn://rubyforge.org/var/svn/rspec/trunk/rspec_on_rails > ruby script/generate rspec
In an editor create the following model spec (spec/models/foo_spec.rb)
require File.dirname(__FILE__) + '/../spec_helper'
describe 'trunk error' do
it 'should fail' do
true.should == false
end
it 'should not fail' do
true.should == true
end
end
> rake spec:models -t
This causes the problem.
1)
SQLite3::SQLException in 'trunk error should not fail'
SQL logic error or missing database
C:/development/sandbox/prototypes/trunk-error/config/../vendor/plugins/rspec_on_rails/lib/spec/rails/dsl/behaviour/rails_example.rb:17:in
`before_eval'
2)
SQLite3::SQLException in 'trunk error should fail'
SQL logic error or missing database
C:/development/sandbox/prototypes/trunk-error/config/../vendor/plugins/rspec_on_rails/lib/spec/rails/dsl/behaviour/rails_example.rb:17:in
`before_eval'
Finished in 0.61 seconds
Now if the plugins are removed then the 1.0.8 release installed
> ruby script/plugin install
svn://rubyforge.org/var/svn/rspec/tags/REL_1_0_8/rspec
> ruby script/plugin install
svn://rubyforge.org/var/svn/rspec/tags/REL_1_0_8/rspec_on_rails
> ruby script/generate rspec
Then
> rake spec:models -t
Then the specs behave as coded i.e. 1 success and 1 fail.
This was not the case last week. This did not occur until
On 10/23/07, David Chelimsky <[EMAIL PROTECTED]> wrote:
>
> On 10/23/07, sinclair bain <[EMAIL PROTECTED]> wrote:
> > Hi,Updated from the trunk/edge again today however all the specs still
> fail
> > as before.
> >
> > I uninstalled and moved back to the 1.0.8 release and all specs are
> > successful again.
> >
> > Unfortunately, no Story Runner.
>
> Sorry Sinclair, but I have no idea what is causing your woes. I think
> we need to see some code and some backtraces if you want any help.
> _______________________________________________
> rspec-users mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/rspec-users
>
foo_spec.rb
Description: Binary data
_______________________________________________ rspec-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/rspec-users
