Open gsmendoza opened 12 years ago
Hello,
I noticed that, if config.cache_classes == true, I have to reload an app class before I run irspec on it:
config.cache_classes == true
load 'app/models/note.rb' irspec 'spec/models/note_spec.rb'
It looks like I also have to reload views when I change them, but I don't know how. Do you have an idea how to do this?
Anyway, thank you very much for the gem. It worked out of the box compared to spork :)
Thanks,
George
For running rails specs:
> reload! # reloads your app code > FactoryGirl.reload! # if you are using factory girl since when reloading your app old classes are replaced with new ones > irspec 'spec'
Hello,
I noticed that, if
config.cache_classes == true
, I have to reload an app class before I run irspec on it:It looks like I also have to reload views when I change them, but I don't know how. Do you have an idea how to do this?
Anyway, thank you very much for the gem. It worked out of the box compared to spork :)
Thanks,
George