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

Spec for from_sql, and a big mock for the DB class #133

Merged
merged 4 commits into from
Apr 22, 2018
Merged

Spec for from_sql, and a big mock for the DB class #133

merged 4 commits into from
Apr 22, 2018

Conversation

robacarp
Copy link
Member

I don't know if this is the right way to go about this, as always I'm open to suggestions.

I just happened to notice that this method didn't have any express testing around it, though it is being de-facto tested every time a record is being read from the database.

@robacarp robacarp requested a review from a team February 8, 2018 20:15
@faustinoaq
Copy link
Contributor

Fixes #159

@robacarp
Copy link
Member Author

robacarp commented Apr 9, 2018

@amberframework/granite-orm-contributors this is up to date with the latest spec patterns and is ready to get review

Copy link
Contributor

@eliasjpr eliasjpr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small comment

raise "Overread"
end


Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

extra line

@drujensen drujensen merged commit 7581ecd into amberframework:master Apr 22, 2018
@robacarp robacarp deleted the from_sql_spec branch April 25, 2018 22:48
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

Successfully merging this pull request may close these issues.

4 participants