# Test not passing at server

**URL:** <https://www.ruby-forum.com/t/test-not-passing-at-server/189185>\
**Category:** Rails\
**Created:** [May 26, 2010, 10:44am UTC](https://www.ruby-forum.com/t/test-not-passing-at-server/189185 "2010-05-26T10:44:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hemantborole](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/b782af/32.png) [@hemantborole](https://www.ruby-forum.com/u/hemantborole)\
**Post date:** [May 26, 2010, 10:44am UTC](https://www.ruby-forum.com/t/test-not-passing-at-server/189185/1 "2010-05-26T10:44:07Z")

</div>

Hello champs,

I have a problem that all of my test cases are passing on my local  
machine but many of them are not passing on server. Is this usually  
happens or i am doing anything wrong?

---

<div class="post-metadata">

**Author:** ![hemantborole](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/b782af/32.png) [@hemantborole](https://www.ruby-forum.com/u/hemantborole)\
**Post date:** [May 26, 2010, 12:05pm UTC](https://www.ruby-forum.com/t/test-not-passing-at-server/189185/2 "2010-05-26T12:05:59Z")

</div>

On May 26, 9:44 am, Hemant B. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hello champs,
> 
> I have a problem that all of my test cases are passing on my local  
> machine but many of them are not passing on server. Is this usually  
> happens or i am doing anything wrong?

You’re probably doing it wrong

Fred

---

<div class="post-metadata">

**Author:** ![hemantborole](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/b782af/32.png) [@hemantborole](https://www.ruby-forum.com/u/hemantborole)\
**Post date:** [May 26, 2010, 12:08pm UTC](https://www.ruby-forum.com/t/test-not-passing-at-server/189185/3 "2010-05-26T12:08:10Z")

</div>

Frederick C. wrote:

Yeah dude, I was doing it wrong only. Instead of specifying relative url  
in production.db, i specified that in environment.rb

Anyhow resolved that… Thanks Cheung

> On May 26, 9:44ï¿½am, Hemant B. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > Hello champs,
> > 
> > I have a problem that all of my test cases are passing on my local  
> > machine but many of them are not passing on server. Is this usually  
> > happens or i am doing anything wrong?
> 
> You’re probably doing it wrong
> 
> Fred
