Hi Sundae,
Indeed they are. You want to be looking at Cucumber instead of RSpec for
Story support.
I'd highly recommend David's book (which I believe has finally shipped!)
http://www.pragprog.com/titles/achbd/the-rspec-book. It's not about
using BDD with IronRuby, but the concepts are still
Hi Cory,
That's an excellent question.
As I am an absolute newbie in Ironruby, I'm using these two articles as
starting point
http://msdn.microsoft.com/en-us/magazine/dd434651.aspx
http://msdn.microsoft.com/en-us/magazine/dd453038.aspx
Maybe they're outdated.
Cory Foy wrote in post #964185:
Hi Sundae,
Are you running this from a tutorial? If I remember correctly,
spec/story was the old StoryRunner for RSpec, which was deprecated since
most everyone uses Cucumber for Story Writing. Do you have the link to
the tutorial you are using?
Cory
On 11/26/2010 5:19 PM, Sundae Oliseh wro
Thanks for the replies guys.
Indeed I'm *not* testing a rails application.
I have installed rspec.
here's the output from the installation:
C:\IronRuby\bin>igem install rspec
**
Thank you for installing rspec-core-2.1.0
Please be sure to loo
Hi Sundae,
generate is a ruby command in the script folder of a Rails app. Unless
you are working in a Rails app, it won't be available.
If you *are* working in a Rails app, but on a Windows machine, then
trying running "ir script/generate rspec". I think that's right. I know
in Ruby it woul
script/generate is for rspec-rails (which is a rails plug-in).
I seems like you're not testing a rails app, so you need to install the
rspec gem in order to use it. Have you done that?
Shay.
On Fri, Nov 26, 2010 at 9:15 PM, Sundae Oliseh wrote:
> I stumbled on this link...very similar to the
I agree with this, maybe:
require 'clr-library', :mangle => false
or perhaps:
require 'clr-library', :mangler => ThisMangler
Something like this would always fix any possible problems with
mangling. (especially since #methods does not return the clr methods)
Though if you argue that the manglin
I stumbled on this link...very similar to the problem I'm having
http://old.nabble.com/New-setup-error.-no-such-file-to-loadspec-story-td23590218.html
They suggest to run this: script/generate rspec
how do I run it? When I paste it Ironruby command prompt I get the
following message:
'scri
Re: [Ironruby-core] Lowercase classname
Jimmy,
I wasn't aware I could pull the classes and namespaces that way, so I am
actually super glad this opportunity exists. Understanding that IronRuby
should be syntactically be the same, I'd like to offer that it'd be "ideal"
(for me at least) if this c