What could possibly explain this? Rspec test fails when I run from TextMate but passes when I run from the console.
I made sure the TM commands are using the same Ruby as the console. The path is the same too.
what am I missing?
any insight gratefully received
Les
On Jul 31, 2010, at 7:39 AM, Les Nightingill wrote:
What could possibly explain this? Rspec test fails when I run from TextMate but passes when I run from the console.
I made sure the TM commands are using the same Ruby as the console. The path is the same too.
what am I missing?
any insight gratefully received
Les
Sorry to jump in so late. Try running rake db:test:prepare and then run your spec from TM. It's often an artifact of the prepare step not being part of the TM spec task.
Hope this helps.