# Some more spec changes!

**URL:** <https://www.ruby-forum.com/t/some-more-spec-changes/137566>\
**Category:** IronRuby\
**Created:** [May 14, 2008, 7:30am UTC](https://www.ruby-forum.com/t/some-more-spec-changes/137566 "2008-05-14T07:30:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ksunair](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/b19c9b/32.png) [@ksunair](https://www.ruby-forum.com/u/ksunair)\
**Post date:** [May 14, 2008, 7:30am UTC](https://www.ruby-forum.com/t/some-more-spec-changes/137566/1 "2008-05-14T07:30:17Z")

</div>

As I was doing the test for FileOps, I ran into couple spec file  
problems.  
join\_spec:  
changed: couple of places instead of comparison operator ==, it has  
assignment operator =. I changed it and is in the uploaded file.  
Need to change: Windows use \ for directory seperation, while linux uses  
/, all the test cases use / instead of . We may need to change the rake  
to be more specific to the platform to make the test pass properly.  
utime\_spec: There was no rspec for this method. I wrote one for testing  
based off of atime. Attached the one I used.  
zero\_spec:  
In windows following is not valid  
File.zero?(‘NUL’).should == true  
since NUL will be treated file, this will throw exception that file not  
found.  
Also the following is not a valid file name in windows environment  
file = ‘/tmp/i\_exist’  
Thanks.
