# Changes to basename\_spec.rb

**URL:** <https://www.ruby-forum.com/t/changes-to-basename-spec-rb/137374>\
**Category:** IronRuby\
**Created:** [May 12, 2008, 3:45pm UTC](https://www.ruby-forum.com/t/changes-to-basename-spec-rb/137374 "2008-05-12T15:45:59Z")\
**Posts on this page:** 2\
**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 12, 2008, 3:45pm UTC](https://www.ruby-forum.com/t/changes-to-basename-spec-rb/137374/1 "2008-05-12T15:45:59Z")

</div>

I found couple of problems with the basename spec and I am attaching the  
modified one for your review. I left the “w+” as it is, with your new  
changes, this should work. Also couple of places the checks for ‘bar’  
against ‘baz’, I correct the spelling and one last thing, couple of  
places the assertion were read ‘shoould’ instead of ‘should’. I fixed  
them as well.

Thanks

---

<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 12, 2008, 6:21pm UTC](https://www.ruby-forum.com/t/changes-to-basename-spec-rb/137374/2 "2008-05-12T18:21:58Z")

</div>

Cool,

I’ll take a look and incorporate them into the new specs.

JD

From: removed\_email\_address@domain.invalid  
[[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)] On Behalf Of Unnikrishnan  
Nair  
Sent: Monday, May 12, 2008 6:44 AM  
To: removed\_email\_address@domain.invalid  
Subject: [Ironruby-core] changes to basename\_spec.rb

I found couple of problems with the basename spec and I am attaching the  
modified one for your review. I left the “w+” as it is, with your new  
changes, this should work. Also couple of places the checks for ‘bar’  
against ‘baz’, I correct the spelling and one last thing, couple of  
places the assertion were read ‘shoould’ instead of ‘should’. I fixed  
them as well.

Thanks
