Casecommons / with_model

Dynamically build an Active Record model (with table) within a test context
http://www.casebook.net
MIT License
167 stars 18 forks source link

Allow calling with_model without a block #12

Closed amarshall closed 11 years ago

amarshall commented 11 years ago

Because there’s no reason it should require one. Also remove all the now-superfluous empty blocks in tests.

coveralls commented 11 years ago

Coverage increased (+0.17%) when pulling ad3655f0f8dd4db8e5156323af90a120aec64c01 on amarshall:blockless into 93ae3471aee568f30e8157df2af0b2f9eaa1710a on Casecommons:master.

View Details

coveralls commented 11 years ago

Coverage increased (+0.17%) when pulling 486f0baf54d94c03a9eaf5e5f32a6495926007d1 on amarshall:blockless into 93ae3471aee568f30e8157df2af0b2f9eaa1710a on Casecommons:master.

View Details