You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example, when scaffolding a Person model with a default:name attribute, in the test/models/person.js file the simple test to see if the model saves without an error should say
varperson=Person.create({name: "Test"});
Each attribute type could just have a default placeholder value for testing purposes.
I don't completely get the gen architecture, would contribute if someone would give me a brief overview / tour sometime.
For example, I can tell my bug would be fixed on this line, but I don't know how to access, say, required attributes from this EJS.
The text was updated successfully, but these errors were encountered:
This would be awesome to have. Happy to walk you through the gen stuff in the IRC channel, or on Skype, whatever. You could also talk to https://github.com/der-On, who's doing some work on the generators right now.
For example, when scaffolding a
Person
model with adefault:name
attribute, in thetest/models/person.js
file the simple test to see if the model saves without an error should sayEach attribute type could just have a default placeholder value for testing purposes.
I don't completely get the gen architecture, would contribute if someone would give me a brief overview / tour sometime.
For example, I can tell my bug would be fixed on this line, but I don't know how to access, say, required attributes from this EJS.
The text was updated successfully, but these errors were encountered: