Skip to content

Instantly share code, notes, and snippets.

@Realtin
Created July 8, 2015 14:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Realtin/bc21c95e0cfcbf23a886 to your computer and use it in GitHub Desktop.
Save Realtin/bc21c95e0cfcbf23a886 to your computer and use it in GitHub Desktop.
vagrant@development:~/diaspora_src$ bin/rspec spec/models/photo_spec.rb:162
=> Building fixtures
=> Built aspect_memberships.yml, aspects.yml, contacts.yml, people.yml, profiles.yml, and users.yml
Run options:
include {:locations=>{"./spec/models/photo_spec.rb"=>[162]}}
exclude {:performance=>true}
Randomized with seed 59971
1) Photo with a saved photo containing EXIF data should not contain EXIF data if user prefer
Failure/Error: expect(image.exif.length).to eq(0)
expected: 0
got: 41
(compared using ==)
# ./spec/models/photo_spec.rb:173:in `block (3 levels) in <top (required)>'
# /usr/local/rvm/gems/ruby-2.2.2@diaspora/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:268:in `load'
# /usr/local/rvm/gems/ruby-2.2.2@diaspora/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:268:in `block in load'
# /usr/local/rvm/gems/ruby-2.2.2@diaspora/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:240:in `load_dependency'
# /usr/local/rvm/gems/ruby-2.2.2@diaspora/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:268:in `load'
# /usr/local/rvm/gems/ruby-2.2.2@diaspora/gems/spring-commands-rspec-1.0.4/lib/spring/commands/rspec.rb:18:in `call'
# -e:1:in `<main>'
1/1 |========================= 100 ==========================>| Time: 00:00:01
Top 1 slowest examples (1.53 seconds, 99.0% of total time):
Photo with a saved photo containing EXIF data should not contain EXIF data if user prefer
1.53 seconds ./spec/models/photo_spec.rb:162
Finished in 1.55 seconds (files took 4.36 seconds to load)
1 example, 1 failure
Failed examples:
rspec ./spec/models/photo_spec.rb:162 # Photo with a saved photo containing EXIF data should not contain EXIF data if user prefer
Randomized with seed 59971
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment