Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixtures under Mongoid #15

Open
kirs opened this issue Nov 5, 2014 · 7 comments
Open

Fixtures under Mongoid #15

kirs opened this issue Nov 5, 2014 · 7 comments

Comments

@kirs
Copy link

kirs commented Nov 5, 2014

As I mentioned in #14, we would like to support other ORMs than ActiveRecord.
For instance, our test suite is using fixtures now and there may be a problem with Mongoid.

I started writing implementation of fixtures for Mongoid, but maybe we can switch to FactoryGirl or something else?

@kirs
Copy link
Author

kirs commented Nov 5, 2014

/cc @m-Peter

@m-Peter
Copy link

m-Peter commented Nov 27, 2014

Haven't tried FactoryGirl for fixtures, but we can give it a shot.

@kaspth
Copy link

kaspth commented Nov 27, 2014

No. Rails and related libraries only use minitest and fixtures.

By the way, I think this is getting ahead of ourselves. Active Form is still about exploring an API for form models.

@kirs
Copy link
Author

kirs commented Nov 28, 2014

@kaspth there is still no Mongoid fixtures implementation. Should we work on it?

@kaspth
Copy link

kaspth commented Nov 28, 2014

I don't know what you mean by that. Are you saying Mongoid doesn't support fixtures?

@kirs
Copy link
Author

kirs commented Nov 28, 2014

Yep, that's what I'm saying.

@kaspth
Copy link

kaspth commented Nov 28, 2014

I see. Instead of having us explicitly support Mongoid we need to find an API that Mongoid (and everyone else) can use to integrate with us.

Kasper

Den 28/11/2014 kl. 19.10 skrev Kir Shatrov notifications@github.com:

Yep, that's what I'm saying.


Reply to this email directly or view it on GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants