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

Files used by tests don't exist #26

Closed
reggieb opened this issue Aug 16, 2013 · 4 comments
Closed

Files used by tests don't exist #26

reggieb opened this issue Aug 16, 2013 · 4 comments

Comments

@reggieb
Copy link
Contributor

reggieb commented Aug 16, 2013

I get these errors when I run rspec:

Failures:

  1) Wraith When capturing an image 
     Failure/Error: When(:image_size) { ImageSize.path(test_image1).size }
     Errno::ENOENT:
       No such file or directory - shots/test/test1.png
     # ./spec/wraith_spec.rb:35:in `block (3 levels) in <top (required)>'

  2) Wraith When comparing images 
     Failure/Error: ImageSize.path(diff_image).size
     Errno::ENOENT:
       No such file or directory - shots/test/test_diff.png
     # ./spec/wraith_spec.rb:45:in `block (3 levels) in <top (required)>'
@reggieb
Copy link
Contributor Author

reggieb commented Aug 16, 2013

Looks like I was too keen to dive into the code. You need to run the app at least once to set up the shots directory, before running the tests.

@reggieb reggieb closed this as completed Aug 16, 2013
@sthulb
Copy link
Contributor

sthulb commented Aug 16, 2013

Hi @reggieb :)

@hoguej
Copy link

hoguej commented Aug 16, 2013

I'll fix this. This is a test bug.

On Friday, August 16, 2013, Rob Nichols wrote:

Looks like I was too keen to dive into the code. You need to run the app
at least once to set up the shots directory, before running the tests.


Reply to this email directly or view it on GitHubhttps://github.com//issues/26#issuecomment-22753529
.

@reggieb
Copy link
Contributor Author

reggieb commented Aug 16, 2013

Hi @sthulbourn Great to see you are still creating interesting ruby code at the BBC. :)

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

No branches or pull requests

3 participants