Skip to content

v1.3.0

Compare
Choose a tag to compare
@srtfisher srtfisher released this 02 Dec 14:59
· 21 commits to 1.x since this release
33c10bc

Added

  • Define a thumbnail relationship on the post model that when defined will return an attachment model.
  • Added count support to assertSee() for responses and assertContains() for HTML string assertions.
  • Added assertContains() to response assertions.

Changed

  • Post factories that are passed a term slug to with_terms() will create the term if it doesn't exist by default. This can be disabled by calling the create_terms() method on the factory or replacing the with terms method call with with_terms_only_existing().

Fixed

  • Attachment factories now properly use the Attachment_Factory class.
  • Ensure that the delete() method of the HTTP Client doesn't set a body by default.
  • Ensure that with_terms() can support an array of term slugs when passed with a taxonomy index.
  • Ensure that framework configuration respects the application configuration.
  • Ensure that collections can properly implode Stringable objects.