dobtco / procure-io

*NOT CURRENTLY MAINTAINED* Procurement software for the 21st century.
Other
39 stars 16 forks source link

test problem #196

Closed opsdeveloper closed 11 years ago

opsdeveloper commented 11 years ago

when I run the test, it fails out of the box

rspec spec leads to

232 examples, 127 failures, 37 pending

daguar commented 11 years ago

I'm assuming you resolved this, which is why it was closed, but I also had this problem and it was because not all of the database migrations had been run.

So to document the fix -- if you encounter this problem, you need to run either:

rake db:test:prepare

or

ENV=test rake db:migrate

opsdeveloper commented 11 years ago

Yes But still when running the app, I get routing errors when I try to make new organization On 15 Jun 2013 22:12, "daguar" notifications@github.com wrote:

I'm assuming you resolved this, which is why it was closed, but I also had this problem and it was because not all of the database migrations had been run.

So to document the fix -- if you encounter this problem, you need to run either:

rake db:test:prepare

or

ENV=test rake db:migrate

— Reply to this email directly or view it on GitHubhttps://github.com/dobtco/procure-io/issues/196#issuecomment-19497010 .

daguar commented 11 years ago

I've experienced this, but could not replicate after I changed some things.

Could you create a new issue with details?

Thanks!

opsdeveloper commented 11 years ago

Did you commit your changes? On 16 Jun 2013 07:17, "daguar" notifications@github.com wrote:

I've experienced this, but could not replicate after I changed some things.

Could you create a new issue with details?

Thanks!

— Reply to this email directly or view it on GitHubhttps://github.com/dobtco/procure-io/issues/196#issuecomment-19505109 .

daguar commented 11 years ago

I faked out the route (removing the "except" argument for the organization resource) but that is not a fix for the real problem.

I have opened an issue, #199