Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

migration_file and be_a_migration #8

Closed
EppO opened this Issue Apr 4, 2012 · 3 comments

Comments

Projects
None yet
2 participants
Contributor

EppO commented Apr 4, 2012

Hi,

when I use migration_file in a subject block in my specs, I cannot use be_a_migration in a it block underneath.

    Failure/Error: it { should be_a_migration }
     TypeError:
       can't convert nil into String

If i use file instead, it works.

Cheers,
Florent

Owner

alexrothenberg commented Apr 4, 2012

Florent

Good find!

I believe this commit fixes the issue. I'll plan on releasing a new version with it soon.

--alex

Contributor

EppO commented Apr 4, 2012

Hi Alex,

thanks for the quick support.
Keep up the good work, I really like using ammeter.
I guess I can close this issue now.

Cheers,
Florent

@EppO EppO closed this Apr 4, 2012

Owner

alexrothenberg commented Apr 6, 2012

Glad to hear the positive feedback :)

Just released v0.2.4 with this change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment