<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:verdana,helvetica,sans-serif;font-size:10pt"><div style="font-family: verdana,helvetica,sans-serif; font-size: 10pt;">Hi, David,<br><br>Thanks for the reply.&nbsp; I did try it with autotest only.&nbsp; The shared examples reloaded with each test run.&nbsp; I did some further investigation and sent an email to the dev mailing list with my findings and a possible solution.&nbsp;&nbsp; Depending upon what I hear, I will be glad to enter a bug.<br><br>BTW, thanks for your work with&nbsp; RSpec.<br><br>Chuck<br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: David Chelimsky &lt;dchelimsky@gmail.com&gt;<br>To: rspec-users &lt;rspec-users@rubyforge.org&gt;<br>Sent: Thursday, February 7, 2008 11:01:19 AM<br>Subject: Re: [rspec-users] Shared examples not reloading in spec_server<br><br>
On 
Feb 
7, 
2008 
9:39 
AM, 
Charles 
Grindel 
&lt;<a ymailto="mailto:cgrindel@yahoo.com" href="mailto:cgrindel@yahoo.com">cgrindel@yahoo.com</a>&gt; 
wrote:<br>&gt;<br>&gt; 

am 
currently 
running 
RSpec 
1.1.3 
with 
ZenTest 
3.9.1 
on 
Windows 
XP.&nbsp; 

have<br>&gt; 
noticed 
that 
shared 
examples 
are 
not 
being 
reloaded 
by 
spec_server 
when 
they<br>&gt; 
have 
been 
updated.&nbsp; 
Below 
is 

simple 
example 
that 
reproduces 
the 
problem.<br>&gt; 
The 
example 
code 
and 
output 
is 
at 
the 
location 
below.<br>&gt;<br>&gt;<br>&gt; 
<a href="http://pastie.caboo.se/148688" target="_blank">http://pastie.caboo.se/148688</a><br>&gt;<br>&gt; 

have 
confirmed 
that 
non-shared 
examples 
are 
being 
reloaded 
by 
spec_server.<br>&gt; 
So, 
here 
are 
my 
questions.<br>&gt;<br>&gt; 
1. 
Has 
anyone 
else 
noticed 
this 
behavior?<br>&gt;<br>&gt; 
2. 
Does 
anyone 
know 
how 

can 
force 
spec_server 
to 
reload 
the 
shared<br>&gt; 
examples?<br>&gt;<br>&gt; 
3. 
If 
this 
smells 
like 

bug, 
can 
someone 
point 
me 
to 
instructions 
for<br>&gt; 
filing 

bug?<br><br>Sounds 
like 

problem 
with 
your 
autotest 
configuration, 
not 
with<br>spec_server. 
Try 
it 
without 
spec 
server 
to 
verify 
that 
is 
correct.<br><br>If 
it's 
that 
autotest 
isn't 
loading 
them, 
you 
just 
need 
to 
add 
a<br>mapping 
in 
.autotest. 
Read 
the 
ZenTest 
docs 
for 
more 
info 
and/or 
check<br>out 
my 
blog 
post 
on 
this:<br><a href="http://blog.davidchelimsky.net/articles/2008/01/15/rspec-1-1-2-and-zentest-3-8-0" target="_blank">http://blog.davidchelimsky.net/articles/2008/01/15/rspec-1-1-2-and-zentest-3-8-0</a>.<br><br>If 
you 
try 
that 
and 
you 
still 
think 
it's 
an 
rspec 
bug, 
file 

ticket<br>at 
<a href="http://rspec.lighthouseapp.com" target="_blank">http://rspec.lighthouseapp.com</a>.<br><br>Cheers,<br>David<br><br>&gt;<br>&gt; 
Thanks,<br>&gt; 
Chuck<br>&gt;<br>&gt; 
_______________________________________________<br>&gt; 
rspec-users 
mailing 
list<br>&gt; 
<a ymailto="mailto:rspec-users@rubyforge.org" href="mailto:rspec-users@rubyforge.org">rspec-users@rubyforge.org</a><br>&gt; 
<a href="http://rubyforge.org/mailman/listinfo/rspec-users" target="_blank">http://rubyforge.org/mailman/listinfo/rspec-users</a><br>&gt;<br>_______________________________________________<br>rspec-users 
mailing 
list<br><a ymailto="mailto:rspec-users@rubyforge.org" href="mailto:rspec-users@rubyforge.org">rspec-users@rubyforge.org</a><br><a href="http://rubyforge.org/mailman/listinfo/rspec-users" target="_blank">http://rubyforge.org/mailman/listinfo/rspec-users</a><br></div><br></div></div></body></html>