Skip to content

Instantly share code, notes, and snippets.

@deepj
Created March 6, 2016 14:17
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 deepj/9b4c2762d824e9bdd1b3 to your computer and use it in GitHub Desktop.
Save deepj/9b4c2762d824e9bdd1b3 to your computer and use it in GitHub Desktop.
$ rake spec
/Users/deepj/.rubies/ruby-2.3.0/bin/ruby -I/Users/deepj/.gem/ruby/2.3.0/gems/rspec-core-3.4.3/lib:/Users/deepj/.gem/ruby/2.3.0/gems/rspec-support-3.4.1/lib /Users/deepj/.gem/ruby/2.3.0/gems/rspec-core-3.4.3/exe/rspec --pattern ./\*/spec/\*\*/\*_spec.rb
-- create_table(:refinery_crud_dummies, {:force=>true})
-> 0.0351s
Run options: include {:focus=>true}
All examples were filtered out; ignoring {:focus=>true}
Randomized with seed 56356
....***....***........../Users/deepj/dev/oss/refinerycms/refinerycms/core/app/helpers/refinery/meta_helper.rb:23: warning: Refinery::PagePresenter#respond_to?(:to_ary) is old fashion which takes only one parameter
/Users/deepj/dev/oss/refinerycms/refinerycms/core/app/presenters/refinery/base_presenter.rb:27: warning: respond_to? is defined here
........................................................................................
RSpec::Retry: 2nd try ./images/spec/models/refinery/image_spec.rb:210
RSpec::Retry: 3rd try ./images/spec/models/refinery/image_spec.rb:210
F
RSpec::Retry: 2nd try ./images/spec/models/refinery/image_spec.rb:206
RSpec::Retry: 3rd try ./images/spec/models/refinery/image_spec.rb:206
F
RSpec::Retry: 2nd try ./images/spec/models/refinery/image_spec.rb:166
RSpec::Retry: 3rd try ./images/spec/models/refinery/image_spec.rb:166
F
RSpec::Retry: 2nd try ./images/spec/models/refinery/image_spec.rb:170
RSpec::Retry: 3rd try ./images/spec/models/refinery/image_spec.rb:170
F
RSpec::Retry: 2nd try ./images/spec/models/refinery/image_spec.rb:182
RSpec::Retry: 3rd try ./images/spec/models/refinery/image_spec.rb:182
F
RSpec::Retry: 2nd try ./images/spec/models/refinery/image_spec.rb:178
RSpec::Retry: 3rd try ./images/spec/models/refinery/image_spec.rb:178
F
RSpec::Retry: 2nd try ./images/spec/models/refinery/image_spec.rb:186
RSpec::Retry: 3rd try ./images/spec/models/refinery/image_spec.rb:186
F
RSpec::Retry: 2nd try ./images/spec/models/refinery/image_spec.rb:190
RSpec::Retry: 3rd try ./images/spec/models/refinery/image_spec.rb:190
F
RSpec::Retry: 2nd try ./images/spec/models/refinery/image_spec.rb:162
RSpec::Retry: 3rd try ./images/spec/models/refinery/image_spec.rb:162
F
RSpec::Retry: 2nd try ./images/spec/models/refinery/image_spec.rb:174
RSpec::Retry: 3rd try ./images/spec/models/refinery/image_spec.rb:174
F
RSpec::Retry: 2nd try ./images/spec/models/refinery/image_spec.rb:194
RSpec::Retry: 3rd try ./images/spec/models/refinery/image_spec.rb:194
F
RSpec::Retry: 2nd try ./images/spec/models/refinery/image_spec.rb:198
RSpec::Retry: 3rd try ./images/spec/models/refinery/image_spec.rb:198
F........
RSpec::Retry: 2nd try ./images/spec/models/refinery/image_spec.rb:220
RSpec::Retry: 3rd try ./images/spec/models/refinery/image_spec.rb:220
F
RSpec::Retry: 2nd try ./images/spec/models/refinery/image_spec.rb:216
RSpec::Retry: 3rd try ./images/spec/models/refinery/image_spec.rb:216
F.........................*...................*............................................................/Users/deepj/dev/oss/refinerycms/refinerycms/core/app/helpers/refinery/meta_helper.rb:23: warning: Refinery::PagePresenter#respond_to?(:to_ary) is old fashion which takes only one parameter
/Users/deepj/dev/oss/refinerycms/refinerycms/core/app/presenters/refinery/base_presenter.rb:27: warning: respond_to? is defined here
./Users/deepj/dev/oss/refinerycms/refinerycms/core/app/helpers/refinery/meta_helper.rb:23: warning: Refinery::PagePresenter#respond_to?(:to_ary) is old fashion which takes only one parameter
/Users/deepj/dev/oss/refinerycms/refinerycms/core/app/presenters/refinery/base_presenter.rb:27: warning: respond_to? is defined here
./Users/deepj/dev/oss/refinerycms/refinerycms/core/app/helpers/refinery/meta_helper.rb:23: warning: Refinery::PagePresenter#respond_to?(:to_ary) is old fashion which takes only one parameter
/Users/deepj/dev/oss/refinerycms/refinerycms/core/app/presenters/refinery/base_presenter.rb:27: warning: respond_to? is defined here
./Users/deepj/dev/oss/refinerycms/refinerycms/core/app/helpers/refinery/meta_helper.rb:23: warning: Refinery::PagePresenter#respond_to?(:to_ary) is old fashion which takes only one parameter
/Users/deepj/dev/oss/refinerycms/refinerycms/core/app/presenters/refinery/base_presenter.rb:27: warning: respond_to? is defined here
/Users/deepj/dev/oss/refinerycms/refinerycms/core/app/helpers/refinery/meta_helper.rb:23: warning: Refinery::PagePresenter#respond_to?(:to_ary) is old fashion which takes only one parameter
/Users/deepj/dev/oss/refinerycms/refinerycms/core/app/presenters/refinery/base_presenter.rb:27: warning: respond_to? is defined here
./Users/deepj/dev/oss/refinerycms/refinerycms/core/app/helpers/refinery/meta_helper.rb:23: warning: Refinery::PagePresenter#respond_to?(:to_ary) is old fashion which takes only one parameter
/Users/deepj/dev/oss/refinerycms/refinerycms/core/app/presenters/refinery/base_presenter.rb:27: warning: respond_to? is defined here
./Users/deepj/dev/oss/refinerycms/refinerycms/core/app/helpers/refinery/meta_helper.rb:23: warning: Refinery::PagePresenter#respond_to?(:to_ary) is old fashion which takes only one parameter
/Users/deepj/dev/oss/refinerycms/refinerycms/core/app/presenters/refinery/base_presenter.rb:27: warning: respond_to? is defined here
./Users/deepj/dev/oss/refinerycms/refinerycms/core/app/helpers/refinery/meta_helper.rb:23: warning: Refinery::PagePresenter#respond_to?(:to_ary) is old fashion which takes only one parameter
/Users/deepj/dev/oss/refinerycms/refinerycms/core/app/presenters/refinery/base_presenter.rb:27: warning: respond_to? is defined here
./Users/deepj/dev/oss/refinerycms/refinerycms/core/app/helpers/refinery/meta_helper.rb:23: warning: Refinery::PagePresenter#respond_to?(:to_ary) is old fashion which takes only one parameter
/Users/deepj/dev/oss/refinerycms/refinerycms/core/app/presenters/refinery/base_presenter.rb:27: warning: respond_to? is defined here
./Users/deepj/dev/oss/refinerycms/refinerycms/core/app/helpers/refinery/meta_helper.rb:23: warning: Refinery::PagePresenter#respond_to?(:to_ary) is old fashion which takes only one parameter
/Users/deepj/dev/oss/refinerycms/refinerycms/core/app/presenters/refinery/base_presenter.rb:27: warning: respond_to? is defined here
./Users/deepj/dev/oss/refinerycms/refinerycms/core/app/helpers/refinery/meta_helper.rb:23: warning: Refinery::PagePresenter#respond_to?(:to_ary) is old fashion which takes only one parameter
/Users/deepj/dev/oss/refinerycms/refinerycms/core/app/presenters/refinery/base_presenter.rb:27: warning: respond_to? is defined here
../Users/deepj/dev/oss/refinerycms/refinerycms/core/app/helpers/refinery/meta_helper.rb:23: warning: Refinery::PagePresenter#respond_to?(:to_ary) is old fashion which takes only one parameter
/Users/deepj/dev/oss/refinerycms/refinerycms/core/app/presenters/refinery/base_presenter.rb:27: warning: respond_to? is defined here
./Users/deepj/dev/oss/refinerycms/refinerycms/core/app/helpers/refinery/meta_helper.rb:23: warning: Refinery::PagePresenter#respond_to?(:to_ary) is old fashion which takes only one parameter
/Users/deepj/dev/oss/refinerycms/refinerycms/core/app/presenters/refinery/base_presenter.rb:27: warning: respond_to? is defined here
./Users/deepj/dev/oss/refinerycms/refinerycms/core/app/helpers/refinery/meta_helper.rb:23: warning: Refinery::PagePresenter#respond_to?(:to_ary) is old fashion which takes only one parameter
/Users/deepj/dev/oss/refinerycms/refinerycms/core/app/presenters/refinery/base_presenter.rb:27: warning: respond_to? is defined here
./Users/deepj/dev/oss/refinerycms/refinerycms/core/app/helpers/refinery/meta_helper.rb:23: warning: Refinery::PagePresenter#respond_to?(:to_ary) is old fashion which takes only one parameter
/Users/deepj/dev/oss/refinerycms/refinerycms/core/app/presenters/refinery/base_presenter.rb:27: warning: respond_to? is defined here
./Users/deepj/dev/oss/refinerycms/refinerycms/core/app/helpers/refinery/meta_helper.rb:23: warning: Refinery::PagePresenter#respond_to?(:to_ary) is old fashion which takes only one parameter
/Users/deepj/dev/oss/refinerycms/refinerycms/core/app/presenters/refinery/base_presenter.rb:27: warning: respond_to? is defined here
../Users/deepj/dev/oss/refinerycms/refinerycms/core/app/helpers/refinery/meta_helper.rb:23: warning: Refinery::PagePresenter#respond_to?(:to_ary) is old fashion which takes only one parameter
/Users/deepj/dev/oss/refinerycms/refinerycms/core/app/presenters/refinery/base_presenter.rb:27: warning: respond_to? is defined here
./Users/deepj/dev/oss/refinerycms/refinerycms/core/app/helpers/refinery/meta_helper.rb:23: warning: Refinery::PagePresenter#respond_to?(:to_ary) is old fashion which takes only one parameter
/Users/deepj/dev/oss/refinerycms/refinerycms/core/app/presenters/refinery/base_presenter.rb:27: warning: respond_to? is defined here
../Users/deepj/dev/oss/refinerycms/refinerycms/core/app/helpers/refinery/meta_helper.rb:23: warning: Refinery::PagePresenter#respond_to?(:to_ary) is old fashion which takes only one parameter
/Users/deepj/dev/oss/refinerycms/refinerycms/core/app/presenters/refinery/base_presenter.rb:27: warning: respond_to? is defined here
./Users/deepj/dev/oss/refinerycms/refinerycms/core/app/helpers/refinery/meta_helper.rb:23: warning: Refinery::PagePresenter#respond_to?(:to_ary) is old fashion which takes only one parameter
/Users/deepj/dev/oss/refinerycms/refinerycms/core/app/presenters/refinery/base_presenter.rb:27: warning: respond_to? is defined here
./Users/deepj/dev/oss/refinerycms/refinerycms/core/app/helpers/refinery/meta_helper.rb:23: warning: Refinery::PagePresenter#respond_to?(:to_ary) is old fashion which takes only one parameter
/Users/deepj/dev/oss/refinerycms/refinerycms/core/app/presenters/refinery/base_presenter.rb:27: warning: respond_to? is defined here
./Users/deepj/dev/oss/refinerycms/refinerycms/core/app/helpers/refinery/meta_helper.rb:23: warning: Refinery::PagePresenter#respond_to?(:to_ary) is old fashion which takes only one parameter
/Users/deepj/dev/oss/refinerycms/refinerycms/core/app/presenters/refinery/base_presenter.rb:27: warning: respond_to? is defined here
./Users/deepj/dev/oss/refinerycms/refinerycms/core/app/helpers/refinery/meta_helper.rb:23: warning: Refinery::PagePresenter#respond_to?(:to_ary) is old fashion which takes only one parameter
/Users/deepj/dev/oss/refinerycms/refinerycms/core/app/presenters/refinery/base_presenter.rb:27: warning: respond_to? is defined here
................................................/Users/deepj/dev/oss/refinerycms/refinerycms/core/app/helpers/refinery/meta_helper.rb:23: warning: Refinery::PagePresenter#respond_to?(:to_ary) is old fashion which takes only one parameter
/Users/deepj/dev/oss/refinerycms/refinerycms/core/app/presenters/refinery/base_presenter.rb:27: warning: respond_to? is defined here
./Users/deepj/dev/oss/refinerycms/refinerycms/core/app/helpers/refinery/meta_helper.rb:23: warning: Refinery::PagePresenter#respond_to?(:to_ary) is old fashion which takes only one parameter
/Users/deepj/dev/oss/refinerycms/refinerycms/core/app/presenters/refinery/base_presenter.rb:27: warning: respond_to? is defined here
./Users/deepj/dev/oss/refinerycms/refinerycms/core/app/helpers/refinery/meta_helper.rb:23: warning: Refinery::PagePresenter#respond_to?(:to_ary) is old fashion which takes only one parameter
/Users/deepj/dev/oss/refinerycms/refinerycms/core/app/presenters/refinery/base_presenter.rb:27: warning: respond_to? is defined here
......................../Users/deepj/dev/oss/refinerycms/refinerycms/core/app/helpers/refinery/meta_helper.rb:23: warning: Refinery::PagePresenter#respond_to?(:to_ary) is old fashion which takes only one parameter
/Users/deepj/dev/oss/refinerycms/refinerycms/core/app/presenters/refinery/base_presenter.rb:27: warning: respond_to? is defined here
../Users/deepj/dev/oss/refinerycms/refinerycms/core/app/helpers/refinery/meta_helper.rb:23: warning: Refinery::PagePresenter#respond_to?(:to_ary) is old fashion which takes only one parameter
/Users/deepj/dev/oss/refinerycms/refinerycms/core/app/presenters/refinery/base_presenter.rb:27: warning: respond_to? is defined here
..../Users/deepj/dev/oss/refinerycms/refinerycms/core/app/helpers/refinery/meta_helper.rb:23: warning: Refinery::PagePresenter#respond_to?(:to_ary) is old fashion which takes only one parameter
/Users/deepj/dev/oss/refinerycms/refinerycms/core/app/presenters/refinery/base_presenter.rb:27: warning: respond_to? is defined here
../Users/deepj/dev/oss/refinerycms/refinerycms/core/app/helpers/refinery/meta_helper.rb:23: warning: Refinery::PagePresenter#respond_to?(:to_ary) is old fashion which takes only one parameter
/Users/deepj/dev/oss/refinerycms/refinerycms/core/app/presenters/refinery/base_presenter.rb:27: warning: respond_to? is defined here
.
RSpec::Retry: 2nd try ./pages/spec/features/refinery/admin/pages_spec.rb:488
RSpec::Retry: 3rd try ./pages/spec/features/refinery/admin/pages_spec.rb:488
../Users/deepj/dev/oss/refinerycms/refinerycms/core/app/helpers/refinery/meta_helper.rb:23: warning: Refinery::PagePresenter#respond_to?(:to_ary) is old fashion which takes only one parameter
/Users/deepj/dev/oss/refinerycms/refinerycms/core/app/presenters/refinery/base_presenter.rb:27: warning: respond_to? is defined here
./Users/deepj/dev/oss/refinerycms/refinerycms/core/app/helpers/refinery/meta_helper.rb:23: warning: Refinery::PagePresenter#respond_to?(:to_ary) is old fashion which takes only one parameter
/Users/deepj/dev/oss/refinerycms/refinerycms/core/app/presenters/refinery/base_presenter.rb:27: warning: respond_to? is defined here
....................../Users/deepj/dev/oss/refinerycms/refinerycms/core/app/helpers/refinery/meta_helper.rb:23: warning: Refinery::PagePresenter#respond_to?(:to_ary) is old fashion which takes only one parameter
/Users/deepj/dev/oss/refinerycms/refinerycms/core/app/presenters/refinery/base_presenter.rb:27: warning: respond_to? is defined here
./Users/deepj/dev/oss/refinerycms/refinerycms/core/app/helpers/refinery/meta_helper.rb:23: warning: Refinery::PagePresenter#respond_to?(:to_ary) is old fashion which takes only one parameter
/Users/deepj/dev/oss/refinerycms/refinerycms/core/app/presenters/refinery/base_presenter.rb:27: warning: respond_to? is defined here
./Users/deepj/dev/oss/refinerycms/refinerycms/core/app/helpers/refinery/meta_helper.rb:23: warning: Refinery::PagePresenter#respond_to?(:to_ary) is old fashion which takes only one parameter
/Users/deepj/dev/oss/refinerycms/refinerycms/core/app/presenters/refinery/base_presenter.rb:27: warning: respond_to? is defined here
../Users/deepj/dev/oss/refinerycms/refinerycms/core/app/helpers/refinery/meta_helper.rb:23: warning: Refinery::PagePresenter#respond_to?(:to_ary) is old fashion which takes only one parameter
/Users/deepj/dev/oss/refinerycms/refinerycms/core/app/presenters/refinery/base_presenter.rb:27: warning: respond_to? is defined here
./Users/deepj/dev/oss/refinerycms/refinerycms/core/app/helpers/refinery/meta_helper.rb:23: warning: Refinery::PagePresenter#respond_to?(:to_ary) is old fashion which takes only one parameter
/Users/deepj/dev/oss/refinerycms/refinerycms/core/app/presenters/refinery/base_presenter.rb:27: warning: respond_to? is defined here
./Users/deepj/dev/oss/refinerycms/refinerycms/core/app/helpers/refinery/meta_helper.rb:23: warning: Refinery::PagePresenter#respond_to?(:to_ary) is old fashion which takes only one parameter
/Users/deepj/dev/oss/refinerycms/refinerycms/core/app/presenters/refinery/base_presenter.rb:27: warning: respond_to? is defined here
........................./Users/deepj/dev/oss/refinerycms/refinerycms/core/app/helpers/refinery/meta_helper.rb:23: warning: Refinery::PagePresenter#respond_to?(:to_ary) is old fashion which takes only one parameter
/Users/deepj/dev/oss/refinerycms/refinerycms/core/app/presenters/refinery/base_presenter.rb:27: warning: respond_to? is defined here
/Users/deepj/dev/oss/refinerycms/refinerycms/core/app/helpers/refinery/meta_helper.rb:23: warning: Refinery::PagePresenter#respond_to?(:to_ary) is old fashion which takes only one parameter
/Users/deepj/dev/oss/refinerycms/refinerycms/core/app/presenters/refinery/base_presenter.rb:27: warning: respond_to? is defined here
./Users/deepj/dev/oss/refinerycms/refinerycms/core/app/helpers/refinery/meta_helper.rb:23: warning: Refinery::PagePresenter#respond_to?(:to_ary) is old fashion which takes only one parameter
/Users/deepj/dev/oss/refinerycms/refinerycms/core/app/presenters/refinery/base_presenter.rb:27: warning: respond_to? is defined here
./Users/deepj/dev/oss/refinerycms/refinerycms/core/app/helpers/refinery/meta_helper.rb:23: warning: Refinery::PagePresenter#respond_to?(:to_ary) is old fashion which takes only one parameter
/Users/deepj/dev/oss/refinerycms/refinerycms/core/app/presenters/refinery/base_presenter.rb:27: warning: respond_to? is defined here
./Users/deepj/dev/oss/refinerycms/refinerycms/core/app/helpers/refinery/meta_helper.rb:23: warning: Refinery::PagePresenter#respond_to?(:to_ary) is old fashion which takes only one parameter
/Users/deepj/dev/oss/refinerycms/refinerycms/core/app/presenters/refinery/base_presenter.rb:27: warning: respond_to? is defined here
/Users/deepj/dev/oss/refinerycms/refinerycms/core/app/helpers/refinery/meta_helper.rb:23: warning: Refinery::PagePresenter#respond_to?(:to_ary) is old fashion which takes only one parameter
/Users/deepj/dev/oss/refinerycms/refinerycms/core/app/presenters/refinery/base_presenter.rb:27: warning: respond_to? is defined here
.....................................................................................*..................
Pending: (Failures listed here are expected and do not affect your suite's status)
1) Page Visual Editor - Add Image When there are many images has behaviour: inserts images when images are filtered by a search
# Not yet implemented
# ./images/spec/support/shared examples/image_inserter.rb:41
2) Page Visual Editor - Add Image When there are many images has behaviour: inserts images resize the image
# Not yet implemented
# ./images/spec/support/shared examples/image_inserter.rb:19
3) Page Visual Editor - Add Image When there are many images has behaviour: inserts images when all images are available
# Not yet implemented
# ./images/spec/support/shared examples/image_inserter.rb:32
4) Page Visual Editor - Add Image When there is one image has behaviour: inserts images when all images are available
# Not yet implemented
# ./images/spec/support/shared examples/image_inserter.rb:32
5) Page Visual Editor - Add Image When there is one image has behaviour: inserts images when images are filtered by a search
# Not yet implemented
# ./images/spec/support/shared examples/image_inserter.rb:41
6) Page Visual Editor - Add Image When there is one image has behaviour: inserts images resize the image
# Not yet implemented
# ./images/spec/support/shared examples/image_inserter.rb:19
7) the Admin Images Tab When there are many images has behaviour: edits an image
# Not yet implemented
# ./images/spec/support/shared examples/image_editor.rb:2
8) the Admin Images Tab When there is one image has behaviour: edits an image
# Not yet implemented
# ./images/spec/support/shared examples/image_editor.rb:2
9) Refinery::Plugins.first_in_menu_with_url finds plugins that are landable
# No reason given
# ./core/spec/lib/refinery/plugins_spec.rb:103
Failures:
1) Refinery::Image#thumbnail_dimensions returns correctly with 225x255>
Failure/Error: expect(created_alternate_image.thumbnail_dimensions('225x255>')).to eq({ :width => 225, :height => 110 })
expected: {:width=>225, :height=>110}
got: {:width=>0.0, :height=>0.0}
(compared using ==)
Diff:
@@ -1,3 +1,3 @@
-:height => 110,
-:width => 225,
+:height => 0.0,
+:width => 0.0,
# ./images/spec/models/refinery/image_spec.rb:211:in `block (3 levels) in <module:Refinery>'
2) Refinery::Image#thumbnail_dimensions returns correctly with nil
Failure/Error: expect(created_alternate_image.thumbnail_dimensions(nil)).to eq({ :width => 376, :height => 184 })
expected: {:width=>376, :height=>184}
got: {:width=>0.0, :height=>0.0}
(compared using ==)
Diff:
@@ -1,3 +1,3 @@
-:height => 184,
-:width => 376,
+:height => 0.0,
+:width => 0.0,
# ./images/spec/models/refinery/image_spec.rb:207:in `block (3 levels) in <module:Refinery>'
3) Refinery::Image#thumbnail_dimensions returns correctly with 200x200#ne
Failure/Error: expect(created_image.thumbnail_dimensions('200x200#ne')).to eq({ :width => 200, :height => 200 })
expected: {:width=>200, :height=>200}
got: {:width=>0.0, :height=>0.0}
(compared using ==)
Diff:
@@ -1,3 +1,3 @@
-:height => 200,
-:width => 200,
+:height => 0.0,
+:width => 0.0,
# ./images/spec/models/refinery/image_spec.rb:167:in `block (3 levels) in <module:Refinery>'
4) Refinery::Image#thumbnail_dimensions returns correctly with 100x150#c
Failure/Error: expect(created_image.thumbnail_dimensions('100x150#c')).to eq({ :width => 100, :height => 150 })
expected: {:width=>100, :height=>150}
got: {:width=>0.0, :height=>0.0}
(compared using ==)
Diff:
@@ -1,3 +1,3 @@
-:height => 150,
-:width => 100,
+:height => 0.0,
+:width => 0.0,
# ./images/spec/models/refinery/image_spec.rb:171:in `block (3 levels) in <module:Refinery>'
5) Refinery::Image#thumbnail_dimensions returns correctly with 100x475>
Failure/Error: expect(created_image.thumbnail_dimensions('100x475>')).to eq({ :width => 100, :height => 75 })
expected: {:width=>100, :height=>75}
got: {:width=>0.0, :height=>0.0}
(compared using ==)
Diff:
@@ -1,3 +1,3 @@
-:height => 75,
-:width => 100,
+:height => 0.0,
+:width => 0.0,
# ./images/spec/models/refinery/image_spec.rb:183:in `block (3 levels) in <module:Refinery>'
6) Refinery::Image#thumbnail_dimensions returns correctly with 600x375>
Failure/Error: expect(created_image.thumbnail_dimensions('600x375>')).to eq({ :width => 500, :height => 375 })
expected: {:width=>500, :height=>375}
got: {:width=>0.0, :height=>0.0}
(compared using ==)
Diff:
@@ -1,3 +1,3 @@
-:height => 375,
-:width => 500,
+:height => 0.0,
+:width => 0.0,
# ./images/spec/models/refinery/image_spec.rb:179:in `block (3 levels) in <module:Refinery>'
7) Refinery::Image#thumbnail_dimensions returns correctly with 100x150
Failure/Error: expect(created_image.thumbnail_dimensions('100x150')).to eq({ :width => 100, :height => 75 })
expected: {:width=>100, :height=>75}
got: {:width=>0.0, :height=>0.0}
(compared using ==)
Diff:
@@ -1,3 +1,3 @@
-:height => 75,
-:width => 100,
+:height => 0.0,
+:width => 0.0,
# ./images/spec/models/refinery/image_spec.rb:187:in `block (3 levels) in <module:Refinery>'
8) Refinery::Image#thumbnail_dimensions returns correctly with 200x150
Failure/Error: expect(created_image.thumbnail_dimensions('200x150')).to eq({ :width => 200, :height => 150 })
expected: {:width=>200, :height=>150}
got: {:width=>0.0, :height=>0.0}
(compared using ==)
Diff:
@@ -1,3 +1,3 @@
-:height => 150,
-:width => 200,
+:height => 0.0,
+:width => 0.0,
# ./images/spec/models/refinery/image_spec.rb:191:in `block (3 levels) in <module:Refinery>'
9) Refinery::Image#thumbnail_dimensions returns correctly with nil
Failure/Error: expect(created_image.thumbnail_dimensions(nil)).to eq({ :width => 500, :height => 375 })
expected: {:width=>500, :height=>375}
got: {:width=>0.0, :height=>0.0}
(compared using ==)
Diff:
@@ -1,3 +1,3 @@
-:height => 375,
-:width => 500,
+:height => 0.0,
+:width => 0.0,
# ./images/spec/models/refinery/image_spec.rb:163:in `block (3 levels) in <module:Refinery>'
10) Refinery::Image#thumbnail_dimensions returns correctly with 250x250>
Failure/Error: expect(created_image.thumbnail_dimensions('250x250>')).to eq({ :width => 250, :height => 188 })
expected: {:width=>250, :height=>188}
got: {:width=>0.0, :height=>0.0}
(compared using ==)
Diff:
@@ -1,3 +1,3 @@
-:height => 188,
-:width => 250,
+:height => 0.0,
+:width => 0.0,
# ./images/spec/models/refinery/image_spec.rb:175:in `block (3 levels) in <module:Refinery>'
11) Refinery::Image#thumbnail_dimensions returns correctly with 300x150
Failure/Error: expect(created_image.thumbnail_dimensions('300x150')).to eq({ :width => 200, :height => 150 })
expected: {:width=>200, :height=>150}
got: {:width=>0.0, :height=>0.0}
(compared using ==)
Diff:
@@ -1,3 +1,3 @@
-:height => 150,
-:width => 200,
+:height => 0.0,
+:width => 0.0,
# ./images/spec/models/refinery/image_spec.rb:195:in `block (3 levels) in <module:Refinery>'
12) Refinery::Image#thumbnail_dimensions returns correctly with 5x5
Failure/Error: expect(created_image.thumbnail_dimensions('5x5')).to eq({ :width => 5, :height => 4 })
expected: {:width=>5, :height=>4}
got: {:width=>0.0, :height=>0.0}
(compared using ==)
Diff:
@@ -1,3 +1,3 @@
-:height => 4,
-:width => 5,
+:height => 0.0,
+:width => 0.0,
# ./images/spec/models/refinery/image_spec.rb:199:in `block (3 levels) in <module:Refinery>'
13) Refinery::Image#thumbnail_dimensions returns correctly with user-defined geometries :large
Failure/Error: expect(created_image.thumbnail_dimensions(:large)).to eq({ :width => 450, :height => 338 })
expected: {:width=>450, :height=>338}
got: {:width=>0.0, :height=>0.0}
(compared using ==)
Diff:
@@ -1,3 +1,3 @@
-:height => 338,
-:width => 450,
+:height => 0.0,
+:width => 0.0,
# ./images/spec/models/refinery/image_spec.rb:221:in `block (3 levels) in <module:Refinery>'
14) Refinery::Image#thumbnail_dimensions returns correctly with user-defined geometries :medium
Failure/Error: expect(created_image.thumbnail_dimensions(:medium)).to eq({ :width => 225, :height => 169 })
expected: {:width=>225, :height=>169}
got: {:width=>0.0, :height=>0.0}
(compared using ==)
Diff:
@@ -1,3 +1,3 @@
-:height => 169,
-:width => 225,
+:height => 0.0,
+:width => 0.0,
# ./images/spec/models/refinery/image_spec.rb:217:in `block (3 levels) in <module:Refinery>'
Finished in 1 minute 22.21 seconds (files took 11 seconds to load)
510 examples, 14 failures, 9 pending
Failed examples:
rspec ./images/spec/models/refinery/image_spec.rb:210 # Refinery::Image#thumbnail_dimensions returns correctly with 225x255>
rspec ./images/spec/models/refinery/image_spec.rb:206 # Refinery::Image#thumbnail_dimensions returns correctly with nil
rspec ./images/spec/models/refinery/image_spec.rb:166 # Refinery::Image#thumbnail_dimensions returns correctly with 200x200#ne
rspec ./images/spec/models/refinery/image_spec.rb:170 # Refinery::Image#thumbnail_dimensions returns correctly with 100x150#c
rspec ./images/spec/models/refinery/image_spec.rb:182 # Refinery::Image#thumbnail_dimensions returns correctly with 100x475>
rspec ./images/spec/models/refinery/image_spec.rb:178 # Refinery::Image#thumbnail_dimensions returns correctly with 600x375>
rspec ./images/spec/models/refinery/image_spec.rb:186 # Refinery::Image#thumbnail_dimensions returns correctly with 100x150
rspec ./images/spec/models/refinery/image_spec.rb:190 # Refinery::Image#thumbnail_dimensions returns correctly with 200x150
rspec ./images/spec/models/refinery/image_spec.rb:162 # Refinery::Image#thumbnail_dimensions returns correctly with nil
rspec ./images/spec/models/refinery/image_spec.rb:174 # Refinery::Image#thumbnail_dimensions returns correctly with 250x250>
rspec ./images/spec/models/refinery/image_spec.rb:194 # Refinery::Image#thumbnail_dimensions returns correctly with 300x150
rspec ./images/spec/models/refinery/image_spec.rb:198 # Refinery::Image#thumbnail_dimensions returns correctly with 5x5
rspec ./images/spec/models/refinery/image_spec.rb:220 # Refinery::Image#thumbnail_dimensions returns correctly with user-defined geometries :large
rspec ./images/spec/models/refinery/image_spec.rb:216 # Refinery::Image#thumbnail_dimensions returns correctly with user-defined geometries :medium
Randomized with seed 56356
/Users/deepj/.rubies/ruby-2.3.0/bin/ruby -I/Users/deepj/.gem/ruby/2.3.0/gems/rspec-core-3.4.3/lib:/Users/deepj/.gem/ruby/2.3.0/gems/rspec-support-3.4.1/lib /Users/deepj/.gem/ruby/2.3.0/gems/rspec-core-3.4.3/exe/rspec --pattern ./\*/spec/\*\*/\*_spec.rb failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment