Thanks! Actually I am familiar with the case sensitivity of the Ruby
language. When I was using spec then I always used the following:
describe PrimeService do

before do

end

end

But when using Cucumber there is no "before". So the plain text language
parser looks for "Before" instead of "before".

Thanks,
Azam


On Tue, Sep 22, 2009 at 9:14 PM, Jimmy Schementi <
jimmy.scheme...@microsoft.com> wrote:

>  Yes, Ruby is a case-sensitive language. And to be even more clear, the
> same is true with MRI ...
>  ------------------------------
> *From:* ironruby-core-boun...@rubyforge.org [
> ironruby-core-boun...@rubyforge.org] on behalf of Mohammad Azam [
> azamsh...@gmail.com]
> *Sent:* Tuesday, September 22, 2009 9:12 PM
> *To:* ironruby-core@rubyforge.org
> *Subject:* [Ironruby-core] before is different from Before
>
>  I found this the hard way. When using Cucumber with IronRuby before is
> different from Before.
>  The later one (Before) should be used when working with Cucumber.
>
>  before should be used when working with spec.
>
>  Now I know :)
>
> --
> Mohammad Azam
> MVP (Microsoft Valuable Professional)
> www.highoncoding.com
> www.azamsharp.com
>
> _______________________________________________
> Ironruby-core mailing list
> Ironruby-core@rubyforge.org
> http://rubyforge.org/mailman/listinfo/ironruby-core
>
>


-- 
Mohammad Azam
MVP (Microsoft Valuable Professional)
www.highoncoding.com
www.azamsharp.com
_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to