I’m aware this is quite the FAQ. I have probably asked it myself, but I
just
can’t Google up anything but others asking it.
I grabbed the source to Beast, to use as a Rails project uninfluenced by
me, or
RSpec. Then I installed the CURRENT version of RSpec and rspec_on_rails,
and set
up a model spec on Post.
In general, all Rails tests have friction, of various types, because
someone had
the bright idea to make ‘fixtures’ like a directive, instead of just a
method
you can call from setup(). So if anyone knew the function we could call
there…
posts.yml:pdi:
posts.yml: body: P D I pdi
posts.yml:pdi_reply:
posts.yml: body: what? pdi
posts.yml:pdi_rebuttal:
posts.yml: body: you heard me pdi
topics.yml:pdi:
Go ask the Beastmasters why they want an unpronounceable acronym there…
(And their conversation suspiciously resembles ours!
Sorry - that’s all I got. Anybody else?
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.