theturingmachine <theturingmach
...@gmail.com> writes:
> I tried with the latest version of rinari but it wasn't doing
> anything. While inside a test it would always find the setup function
> definition so it would never execute any test, you would have to be
> placed outside any test. Right now that would still be the case, but
> if you're on the test definition line you get the expected result. I
> based it a little bit on the ruby-add-to-log function but nothing as
> complex as you can see. If you were using it with normal tests like
> "def test_something" it would work normally. With this patch both
> cases should work now.
> Greetings
> On Jun 5, 5:48 pm, Steve Purcell <st...@sanityinc.com> wrote:
>> Cool. There was already some sort of support in place, right? What was
>> the incorrect behavior which this patch fixes?
>> -Steve
>> theturingmachine <theturingmach...@gmail.com> writes:
>> > Hi all,
>> > I've done a patch to rinari to support activesupport tests in rails.
>> > You can review the patch here.https://gist.github.com/1006410
>> > I'm not very experienced with elisp, so the patch can probably be
>> > improved. Also you can execute a single test only if you are on the
>> > test declaration line. (test "something" do)
>> > Greetings