Hi all,
I had some specs that were using fixture_file_upload that were
passing just fine. Then I froze edge rails to get some 2.0
functionality, then a I upgraded to trunk rspec to deal with
uninitialized constant ActionView::Helpers::JavaScriptMacrosHelper
After a couple other of tribulation
ok works great :) maybe because I did the scaffold with an old version
rspec? (the one from this morning), sounds weird though. anyway,
Thanks a lot!
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
On Nov 8, 2007 8:36 PM, David Chelimsky <[EMAIL PROTECTED]> wrote:
> On Nov 8, 2007 8:21 PM, Patrick Aljord <[EMAIL PROTECTED]> wrote:
> > Nothing its a fresh project with latest rails edge that i started to
> > learn rspec.
>
> Rails edge or 2.0 preview?
>
I just did this:
rails foo
cd foo
rake
> Rails edge or 2.0 preview?
edge at revision 8117.
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
On Nov 8, 2007 8:21 PM, Patrick Aljord <[EMAIL PROTECTED]> wrote:
> Nothing its a fresh project with latest rails edge that i started to
> learn rspec.
Rails edge or 2.0 preview?
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org
Nothing its a fresh project with latest rails edge that i started to
learn rspec.
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
On Nov 8, 2007 8:18 PM, Patrick Aljord <[EMAIL PROTECTED]> wrote:
> if I nuke the plugin i works:
>
> rake db:migrate RAILS_ENV=test
> (in /home/pat/catalogr)
> == 2 CreateBrands: migrating
> ==
> -- create_table(:brands)
>-> 0.2779s
> == 2 Creat
if I nuke the plugin i works:
rake db:migrate RAILS_ENV=test
(in /home/pat/catalogr)
== 2 CreateBrands: migrating ==
-- create_table(:brands)
-> 0.2779s
== 2 CreateBrands: migrated (0.2782s) =
__
On Nov 8, 2007 8:07 PM, Patrick Aljord <[EMAIL PROTECTED]> wrote:
> sorry:
>
> rake db:migrate RAILS_ENV=test --trace
> (in /home/pat/catalogr)
> ** Invoke db:migrate (first_time)
> ** Invoke environment (first_time)
> ** Execute environment
> rake aborted!
> superclass mismatch for class TestRespo
sorry:
rake db:migrate RAILS_ENV=test --trace
(in /home/pat/catalogr)
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
superclass mismatch for class TestResponse
/home/pat/catalogr/vendor/rails/actionpack/lib/action_controller/test_process.r
On Nov 8, 2007 7:58 PM, Patrick Aljord <[EMAIL PROTECTED]> wrote:
> I did rm -rf both and now I get this:
> superclass mismatch for class TestResponse
Can you provide a tiny bit more context than that? What command are
you using? Stack trace?
___
rspec-u
I did rm -rf both and now I get this:
superclass mismatch for class TestResponse
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
Patrick Aljord wrote:
> Ive just svn up and I still get the same error.
> ___
> rspec-users mailing list
> rspec-users@rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>
Did you svn up rspec_on_rails as well?
__
On Nov 8, 2007 7:38 PM, Patrick Aljord <[EMAIL PROTECTED]> wrote:
> Ive just svn up and I still get the same error.
I don't know what to tell you - I just blew away vendor/rails,
vendor/plugins/rspec and vendor/plugins/rspec_on_rails, reinstalled
all three from their respective trunks and all is w
Ive just svn up and I still get the same error.
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
On Nov 8, 2007 7:06 PM, Patrick Aljord <[EMAIL PROTECTED]> wrote:
> I can't get rspec to work with rails edge either, when I do
> "rake db:migrate RAILS_ENV=test"
>
> I get:
>
> undefined method `failure_message' for class `Spec::Matchers::Have'
That was due to a change in edge rails 8115, which b
I can't get rspec to work with rails edge either, when I do
"rake db:migrate RAILS_ENV=test"
I get:
undefined method `failure_message' for class `Spec::Matchers::Have'
So I can't even start working on my project :/ It works without rspec.
___
rspec-use
I have a project on edge rails that I'm trying to convert from Test:Unit
to rspec.I have the rspec gem version 2338, the rspec and
rsepc_on_rails version 2831 in vendor/plugins, and rails version 8117 in
vendor/rails.
I've been able to get a few specs passing, have gotten the specs running
fro
There is an option "--reverse" to run examples in the reverse order
which is good for detecting inter-dependencies between examples.
Is it feasible for rspec to automatically switch between "forward" and
"reverse" order each time a spec is run?
My goal is to detect inter-dependencies sooner tha
Thanks a lot David, this helps a lot. I have been trying to do just as
you recommended and letting the stories drive every aspect implicitly
without me explicitly defining the model methods in it.
The confusion I was having was that when you say you are going to follow
the failing stories to d
On Nov 8, 2007 8:01 AM, Glenn Ford <[EMAIL PROTECTED]> wrote:
> I have in mind a scenario where a customer says "I tried to log in and
> it blew up!" I take what they say with a business perspective and
> check my story and say "hey I've got a login story and it works" but
> that doesn't leave roo
On Nov 8, 2007 10:01 AM, Glenn Ford <[EMAIL PROTECTED]> wrote:
> It seems that what I'm coming to understand of the direction of this
> story concept is that there is a lot of emphasis being put on ensuring
> we keep things at the business level. I can appreciate the elegance
> of it certainly, bu
It seems that what I'm coming to understand of the direction of this
story concept is that there is a lot of emphasis being put on ensuring
we keep things at the business level. I can appreciate the elegance
of it certainly, but when I think of what I would really want to gain
from this st
Hi all,
I'm just getting started with rspec. I'm using trunk rspec with edge
rails. I get an error on migration though, here it is:
rake db:migrate RAILS_ENV="test" --trace
(in /home/pat/railsapp)
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
rake abo
On Nov 8, 2007 12:17 AM, Ben Mabey <[EMAIL PROTECTED]> wrote:
> David Chelimsky wrote:
> > ... the philosohy that Dan is
> > espousing: expressing stories in the business domain rather than the
> > UI domain (btw Dan, that was brilliantly put).
> What exactly do you and Dan mean when you say tha
25 matches
Mail list logo