MogileFSSpec.php 481 B

123456789101112131415161718192021222324
  1. <?php
  2. namespace spec\Gaufrette\Adapter;
  3. use PhpSpec\ObjectBehavior;
  4. class MogileFSSpec extends ObjectBehavior
  5. {
  6. function let()
  7. {
  8. $this->beConstructedWith('http://domain.com', array('localhost'));
  9. }
  10. function it_is_adapter()
  11. {
  12. $this->shouldHaveType('Gaufrette\Adapter');
  13. }
  14. function it_does_not_handle_mtime()
  15. {
  16. $this->mtime('filename')->shouldReturn(false);
  17. $this->mtime('filename2')->shouldReturn(false);
  18. }
  19. }