Last active
December 16, 2017 12:34
-
-
Save tetz-akaneya/40c465c69d54ff5731008b1ef5ad3b14 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
machine: | |
ruby: | |
version: 2.2.2 | |
dependencies: | |
post: | |
- touch a.txt | |
- wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.0.1.tar.gz | |
- tar -xvf elasticsearch-6.0.1.tar.gz | |
- elasticsearch-6.0.1/bin/elasticsearch -d | |
# Make sure that Elasticsearch is up before running tests: | |
- sleep 10 && wget --waitretry=5 --retry-connrefused -v http://127.0.0.1:9200/ | |
deployment: | |
production: | |
branch: master | |
commands: | |
- heroku maintenance:on --app my_ask_about_book | |
- heroku pg:backups capture --app my_ask_about_book | |
- git push git@heroku.com:my_ask_about_book.git $CIRCLE_SHA1:refs/heads/master | |
- heroku run rake db:migrate --app my_ask_about_book | |
- heroku maintenance:off --app my_ask_about_book | |
staging: | |
branch: staging | |
commands: | |
- heroku maintenance:on --app staging_app_name | |
- git push git@heroku.com:staging_app_name.git $CIRCLE_SHA1:refs/heads/master | |
- heroku run rake db:migrate --app staging_app_name | |
- heroku maintenance:off --app staging_app_name |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
machine: | |
ruby: | |
version: 2.2.2 | |
services: | |
- elasticsearch | |
environment: | |
STRIPE_SECRET_KEY: sk_test_RAbwOF8EuDgqi6HNluuXpgfS | |
STRIPE_PUBLISHABLE_KEY: pk_test_tucOpmWhcrXKkyqyI8aQVZ2p | |
deployment: | |
production: | |
branch: master | |
commands: | |
- heroku maintenance:on --app myflix-yuzhoul | |
- heroku pg:backups capture --app myflix-yuzhoul | |
- git fetch --all --unshallow | |
- git push git@heroku.com:myflix-yuzhoul.git $CIRCLE_SHA1:refs/heads/master | |
- heroku run rake db:migrate --app myflix-yuzhoul | |
- heroku maintenance:off --app myflix-yuzhoul | |
staging: | |
branch: staging | |
commands: | |
- heroku maintenance:on --app myflix-yuzhoul-staging | |
- git fetch --all --unshallow | |
- git push git@heroku.com:myflix-yuzhoul-staging.git $CIRCLE_SHA1:refs/heads/master | |
- heroku run rake db:migrate --app myflix-yuzhoul-staging | |
- heroku maintenance:off --app myflix-yuzhoul-staging |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bundle exec rspec --color spec --format progress | |
Randomized with seed 36792 | |
FF............F..F.F......FFF.FFFFFFFFFFFFFFFFF.......................FFFF.............. | |
Failures: | |
1) User registers with valid user info | |
Failure/Error: visit register_path | |
Net::ReadTimeout: | |
Net::ReadTimeout | |
# ./spec/features/user_registers_spec.rb:5:in `block (2 levels) in <top (required)>' | |
# ------------------ | |
# --- Caused by: --- | |
# IO::EAGAINWaitReadable: | |
# Resource temporarily unavailable - read would block | |
# ./spec/features/user_registers_spec.rb:5:in `block (2 levels) in <top (required)>' | |
2) User registers and recieve email with valid user info | |
Failure/Error: visit register_path | |
Net::ReadTimeout: | |
Net::ReadTimeout | |
# ./spec/features/user_registers_spec.rb:5:in `block (2 levels) in <top (required)>' | |
# ------------------ | |
# --- Caused by: --- | |
# IO::EAGAINWaitReadable: | |
# Resource temporarily unavailable - read would block | |
# ./spec/features/user_registers_spec.rb:5:in `block (2 levels) in <top (required)>' | |
3) BooksController GET show sets @book | |
Failure/Error: let(:book) { Fabricate(:book) } | |
Faraday::ConnectionFailed: | |
Connection refused - connect(2) for "localhost" port 9200 | |
# ./spec/controllers/books_controller_spec.rb:4:in `block (2 levels) in <top (required)>' | |
# ./spec/controllers/books_controller_spec.rb:15:in `block (3 levels) in <top (required)>' | |
# ------------------ | |
# --- Caused by: --- | |
# Errno::ECONNREFUSED: | |
# Connection refused - connect(2) for "localhost" port 9200 | |
# ./spec/controllers/books_controller_spec.rb:4:in `block (2 levels) in <top (required)>' | |
4) BooksController POST create with authenticated user creates a new book with valid params | |
Failure/Error: if save | |
Faraday::ConnectionFailed: | |
Connection refused - connect(2) for "localhost" port 9200 | |
# ./app/models/book.rb:18:in `save_with_cover' | |
# ./app/controllers/books_controller.rb:25:in `create' | |
# ./spec/controllers/books_controller_spec.rb:56:in `block (4 levels) in <top (required)>' | |
# ------------------ | |
# --- Caused by: --- | |
# Errno::ECONNREFUSED: | |
# Connection refused - connect(2) for "localhost" port 9200 | |
# ./app/models/book.rb:18:in `save_with_cover' | |
5) BooksController POST create with authenticated user adds job to StoreImageWorker queue | |
Failure/Error: if save | |
Faraday::ConnectionFailed: | |
Connection refused - connect(2) for "localhost" port 9200 | |
# ./app/models/book.rb:18:in `save_with_cover' | |
# ./app/controllers/books_controller.rb:25:in `create' | |
# ./spec/controllers/books_controller_spec.rb:61:in `block (4 levels) in <top (required)>' | |
# ------------------ | |
# --- Caused by: --- | |
# Errno::ECONNREFUSED: | |
# Connection refused - connect(2) for "localhost" port 9200 | |
# ./app/models/book.rb:18:in `save_with_cover' | |
6) Book#save_with_cover assigns @flash_error when no image avaiable | |
Failure/Error: if save | |
Faraday::ConnectionFailed: | |
Connection refused - connect(2) for "localhost" port 9200 | |
# ./app/models/book.rb:18:in `save_with_cover' | |
# ./spec/models/book_spec.rb:32:in `block (3 levels) in <top (required)>' | |
# ------------------ | |
# --- Caused by: --- | |
# Errno::ECONNREFUSED: | |
# Connection refused - connect(2) for "localhost" port 9200 | |
# ./app/models/book.rb:18:in `save_with_cover' | |
7) Book#save_with_cover saves with valid params | |
Failure/Error: if save | |
Faraday::ConnectionFailed: | |
Connection refused - connect(2) for "localhost" port 9200 | |
# ./app/models/book.rb:18:in `save_with_cover' | |
# ./spec/models/book_spec.rb:18:in `block (3 levels) in <top (required)>' | |
# ------------------ | |
# --- Caused by: --- | |
# Errno::ECONNREFUSED: | |
# Connection refused - connect(2) for "localhost" port 9200 | |
# ./app/models/book.rb:18:in `save_with_cover' | |
8) Book#save_with_cover sends message to BookCover.save | |
Failure/Error: if save | |
Faraday::ConnectionFailed: | |
Connection refused - connect(2) for "localhost" port 9200 | |
# ./app/models/book.rb:18:in `save_with_cover' | |
# ./spec/models/book_spec.rb:26:in `block (3 levels) in <top (required)>' | |
# ------------------ | |
# --- Caused by: --- | |
# Errno::ECONNREFUSED: | |
# Connection refused - connect(2) for "localhost" port 9200 | |
# ./app/models/book.rb:18:in `save_with_cover' | |
9) Book#save_with_cover returns true with valid params | |
Failure/Error: if save | |
Faraday::ConnectionFailed: | |
Connection refused - connect(2) for "localhost" port 9200 | |
# ./app/models/book.rb:18:in `save_with_cover' | |
# ./spec/models/book_spec.rb:39:in `block (3 levels) in <top (required)>' | |
# ------------------ | |
# --- Caused by: --- | |
# Errno::ECONNREFUSED: | |
# Connection refused - connect(2) for "localhost" port 9200 | |
# ./app/models/book.rb:18:in `save_with_cover' | |
10) Book.search returns empty array when blank object is passed | |
Failure/Error: let(:book1) { Fabricate(:book, title: "Book title Example forver") } | |
Faraday::ConnectionFailed: | |
Connection refused - connect(2) for "localhost" port 9200 | |
# ./spec/models/book_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/book_spec.rb:51:in `block (3 levels) in <top (required)>' | |
# ------------------ | |
# --- Caused by: --- | |
# Errno::ECONNREFUSED: | |
# Connection refused - connect(2) for "localhost" port 9200 | |
# ./spec/models/book_spec.rb:10:in `block (2 levels) in <top (required)>' | |
11) Book.search returns empty array when nothing is passed | |
Failure/Error: let(:book1) { Fabricate(:book, title: "Book title Example forver") } | |
Faraday::ConnectionFailed: | |
Connection refused - connect(2) for "localhost" port 9200 | |
# ./spec/models/book_spec.rb:10:in `block (2 levels) in <top (required)>' | |
# ./spec/models/book_spec.rb:51:in `block (3 levels) in <top (required)>' | |
# ------------------ | |
# --- Caused by: --- | |
# Errno::ECONNREFUSED: | |
# Connection refused - connect(2) for "localhost" port 9200 | |
# ./spec/models/book_spec.rb:10:in `block (2 levels) in <top (required)>' | |
12) QuestionsController POST vote behaves like requires sign in redirects to the sign in page | |
Failure/Error: let(:book) { Fabricate(:book) } | |
Faraday::ConnectionFailed: | |
Connection refused - connect(2) for "localhost" port 9200 | |
Shared Example Group: "requires sign in" called from ./spec/controllers/questions_controller_spec.rb:55 | |
# ./spec/controllers/questions_controller_spec.rb:4:in `block (2 levels) in <top (required)>' | |
# ./spec/controllers/questions_controller_spec.rb:58:in `block (4 levels) in <top (required)>' | |
# ./spec/support/shared_examples.rb:5:in `block (2 levels) in <top (required)>' | |
# ------------------ | |
# --- Caused by: --- | |
# Errno::ECONNREFUSED: | |
# Connection refused - connect(2) for "localhost" port 9200 | |
# ./spec/controllers/questions_controller_spec.rb:4:in `block (2 levels) in <top (required)>' | |
13) QuestionsController POST vote invalid params does not create Vote | |
Failure/Error: | |
expect do | |
xhr :post, :vote, book_id: book.id + 100, id: question.id, upvote: true | |
end.to raise_exception ActiveRecord::RecordNotFound | |
expected ActiveRecord::RecordNotFound, got #<Faraday::ConnectionFailed wrapped=#<Errno::ECONNREFUSED: Connection refused - connect(2) for "localhost" port 9200>> with backtrace: | |
# ./spec/controllers/questions_controller_spec.rb:4:in `block (2 levels) in <top (required)>' | |
# ./spec/controllers/questions_controller_spec.rb:95:in `block (5 levels) in <top (required)>' | |
# ./spec/controllers/questions_controller_spec.rb:94:in `block (4 levels) in <top (required)>' | |
# ./spec/controllers/questions_controller_spec.rb:94:in `block (4 levels) in <top (required)>' | |
14) QuestionsController POST vote valid params does not create Vote twice | |
Failure/Error: let(:book) { Fabricate(:book) } | |
Faraday::ConnectionFailed: | |
Connection refused - connect(2) for "localhost" port 9200 | |
# ./spec/controllers/questions_controller_spec.rb:4:in `block (2 levels) in <top (required)>' | |
# ./spec/controllers/questions_controller_spec.rb:84:in `block (4 levels) in <top (required)>' | |
# ------------------ | |
# --- Caused by: --- | |
# Errno::ECONNREFUSED: | |
# Connection refused - connect(2) for "localhost" port 9200 | |
# ./spec/controllers/questions_controller_spec.rb:4:in `block (2 levels) in <top (required)>' | |
15) QuestionsController POST vote valid params downvotes | |
Failure/Error: let(:book) { Fabricate(:book) } | |
Faraday::ConnectionFailed: | |
Connection refused - connect(2) for "localhost" port 9200 | |
# ./spec/controllers/questions_controller_spec.rb:4:in `block (2 levels) in <top (required)>' | |
# ./spec/controllers/questions_controller_spec.rb:78:in `block (4 levels) in <top (required)>' | |
# ------------------ | |
# --- Caused by: --- | |
# Errno::ECONNREFUSED: | |
# Connection refused - connect(2) for "localhost" port 9200 | |
# ./spec/controllers/questions_controller_spec.rb:4:in `block (2 levels) in <top (required)>' | |
16) QuestionsController POST vote valid params upvotes | |
Failure/Error: let(:book) { Fabricate(:book) } | |
Faraday::ConnectionFailed: | |
Connection refused - connect(2) for "localhost" port 9200 | |
# ./spec/controllers/questions_controller_spec.rb:4:in `block (2 levels) in <top (required)>' | |
# ./spec/controllers/questions_controller_spec.rb:72:in `block (4 levels) in <top (required)>' | |
# ------------------ | |
# --- Caused by: --- | |
# Errno::ECONNREFUSED: | |
# Connection refused - connect(2) for "localhost" port 9200 | |
# ./spec/controllers/questions_controller_spec.rb:4:in `block (2 levels) in <top (required)>' | |
17) QuestionsController GET show assigns instance vars | |
Failure/Error: let(:book) { Fabricate(:book) } | |
Faraday::ConnectionFailed: | |
Connection refused - connect(2) for "localhost" port 9200 | |
# ./spec/controllers/questions_controller_spec.rb:4:in `block (2 levels) in <top (required)>' | |
# ./spec/controllers/questions_controller_spec.rb:11:in `block (3 levels) in <top (required)>' | |
# ------------------ | |
# --- Caused by: --- | |
# Errno::ECONNREFUSED: | |
# Connection refused - connect(2) for "localhost" port 9200 | |
# ./spec/controllers/questions_controller_spec.rb:4:in `block (2 levels) in <top (required)>' | |
18) QuestionsController POST create with valid params creates a question associated to the line | |
Failure/Error: let(:book) { Fabricate(:book) } | |
Faraday::ConnectionFailed: | |
Connection refused - connect(2) for "localhost" port 9200 | |
# ./spec/controllers/questions_controller_spec.rb:4:in `block (2 levels) in <top (required)>' | |
# ./spec/controllers/questions_controller_spec.rb:38:in `block (4 levels) in <top (required)>' | |
# ------------------ | |
# --- Caused by: --- | |
# Errno::ECONNREFUSED: | |
# Connection refused - connect(2) for "localhost" port 9200 | |
# ./spec/controllers/questions_controller_spec.rb:4:in `block (2 levels) in <top (required)>' | |
19) QuestionsController POST create with valid params creates a question associated to the book | |
Failure/Error: let(:book) { Fabricate(:book) } | |
Faraday::ConnectionFailed: | |
Connection refused - connect(2) for "localhost" port 9200 | |
# ./spec/controllers/questions_controller_spec.rb:4:in `block (2 levels) in <top (required)>' | |
# ./spec/controllers/questions_controller_spec.rb:38:in `block (4 levels) in <top (required)>' | |
# ------------------ | |
# --- Caused by: --- | |
# Errno::ECONNREFUSED: | |
# Connection refused - connect(2) for "localhost" port 9200 | |
# ./spec/controllers/questions_controller_spec.rb:4:in `block (2 levels) in <top (required)>' | |
20) QuestionsController POST create with valid params creates a question | |
Failure/Error: let(:book) { Fabricate(:book) } | |
Faraday::ConnectionFailed: | |
Connection refused - connect(2) for "localhost" port 9200 | |
# ./spec/controllers/questions_controller_spec.rb:4:in `block (2 levels) in <top (required)>' | |
# ./spec/controllers/questions_controller_spec.rb:38:in `block (4 levels) in <top (required)>' | |
# ------------------ | |
# --- Caused by: --- | |
# Errno::ECONNREFUSED: | |
# Connection refused - connect(2) for "localhost" port 9200 | |
# ./spec/controllers/questions_controller_spec.rb:4:in `block (2 levels) in <top (required)>' | |
21) QuestionsController POST create behaves like requires sign in redirects to the sign in page | |
Failure/Error: let(:book) { Fabricate(:book) } | |
Faraday::ConnectionFailed: | |
Connection refused - connect(2) for "localhost" port 9200 | |
Shared Example Group: "requires sign in" called from ./spec/controllers/questions_controller_spec.rb:20 | |
# ./spec/controllers/questions_controller_spec.rb:4:in `block (2 levels) in <top (required)>' | |
# ./spec/controllers/questions_controller_spec.rb:23:in `block (4 levels) in <top (required)>' | |
# ./spec/support/shared_examples.rb:5:in `block (2 levels) in <top (required)>' | |
# ------------------ | |
# --- Caused by: --- | |
# Errno::ECONNREFUSED: | |
# Connection refused - connect(2) for "localhost" port 9200 | |
# ./spec/controllers/questions_controller_spec.rb:4:in `block (2 levels) in <top (required)>' | |
22) BookCover#save with failure url does not send message to StoreImageWorker.perform_async | |
Failure/Error: let(:book) { Fabricate(:book) } | |
Faraday::ConnectionFailed: | |
Connection refused - connect(2) for "localhost" port 9200 | |
# ./spec/models/book_cover_spec.rb:5:in `block (3 levels) in <top (required)>' | |
# ./spec/models/book_cover_spec.rb:21:in `block (4 levels) in <top (required)>' | |
# ------------------ | |
# --- Caused by: --- | |
# Errno::ECONNREFUSED: | |
# Connection refused - connect(2) for "localhost" port 9200 | |
# ./spec/models/book_cover_spec.rb:5:in `block (3 levels) in <top (required)>' | |
23) BookCover#save with successful url sends message to StoreImageWorker.perform_async | |
Failure/Error: let(:book) { Fabricate(:book) } | |
Faraday::ConnectionFailed: | |
Connection refused - connect(2) for "localhost" port 9200 | |
# ./spec/models/book_cover_spec.rb:5:in `block (3 levels) in <top (required)>' | |
# ./spec/models/book_cover_spec.rb:14:in `block (4 levels) in <top (required)>' | |
# ------------------ | |
# --- Caused by: --- | |
# Errno::ECONNREFUSED: | |
# Connection refused - connect(2) for "localhost" port 9200 | |
# ./spec/models/book_cover_spec.rb:5:in `block (3 levels) in <top (required)>' | |
24) AwsWrapper AwsWrapper::Image returns an AwsWrapper::Image instance | |
Failure/Error: let(:book) { Fabricate(:book) } | |
Faraday::ConnectionFailed: | |
Connection refused - connect(2) for "localhost" port 9200 | |
# ./spec/models/aws_wrapper_spec.rb:6:in `block (3 levels) in <top (required)>' | |
# ./spec/models/aws_wrapper_spec.rb:23:in `block (3 levels) in <top (required)>' | |
# ------------------ | |
# --- Caused by: --- | |
# Errno::ECONNREFUSED: | |
# Connection refused - connect(2) for "localhost" port 9200 | |
# ./spec/models/aws_wrapper_spec.rb:6:in `block (3 levels) in <top (required)>' | |
25) AwsWrapper AwsWrapper::Image sends message to object.put | |
Failure/Error: let(:book) { Fabricate(:book) } | |
Faraday::ConnectionFailed: | |
Connection refused - connect(2) for "localhost" port 9200 | |
# ./spec/models/aws_wrapper_spec.rb:6:in `block (3 levels) in <top (required)>' | |
# ./spec/models/aws_wrapper_spec.rb:19:in `block (3 levels) in <top (required)>' | |
# ------------------ | |
# --- Caused by: --- | |
# Errno::ECONNREFUSED: | |
# Connection refused - connect(2) for "localhost" port 9200 | |
# ./spec/models/aws_wrapper_spec.rb:6:in `block (3 levels) in <top (required)>' | |
26) Answer#book returns a corresponding book | |
Failure/Error: let(:book) { Fabricate(:book) } | |
Faraday::ConnectionFailed: | |
Connection refused - connect(2) for "localhost" port 9200 | |
# ./spec/models/answer_spec.rb:9:in `block (3 levels) in <top (required)>' | |
# ./spec/models/answer_spec.rb:10:in `block (3 levels) in <top (required)>' | |
# ./spec/models/answer_spec.rb:11:in `block (3 levels) in <top (required)>' | |
# ./spec/models/answer_spec.rb:12:in `block (3 levels) in <top (required)>' | |
# ./spec/models/answer_spec.rb:14:in `block (3 levels) in <top (required)>' | |
# ------------------ | |
# --- Caused by: --- | |
# Errno::ECONNREFUSED: | |
# Connection refused - connect(2) for "localhost" port 9200 | |
# ./spec/models/answer_spec.rb:9:in `block (3 levels) in <top (required)>' | |
27) AnswersController POST create does not create answer with invalid body | |
Failure/Error: let(:book) { Fabricate(:book) } | |
Faraday::ConnectionFailed: | |
Connection refused - connect(2) for "localhost" port 9200 | |
# ./spec/controllers/answers_controller_spec.rb:4:in `block (2 levels) in <top (required)>' | |
# ./spec/controllers/answers_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
# ./spec/controllers/answers_controller_spec.rb:6:in `block (2 levels) in <top (required)>' | |
# ./spec/controllers/answers_controller_spec.rb:27:in `block (3 levels) in <top (required)>' | |
# ------------------ | |
# --- Caused by: --- | |
# Errno::ECONNREFUSED: | |
# Connection refused - connect(2) for "localhost" port 9200 | |
# ./spec/controllers/answers_controller_spec.rb:4:in `block (2 levels) in <top (required)>' | |
28) AnswersController POST create creates answer with valid params | |
Failure/Error: let(:book) { Fabricate(:book) } | |
Faraday::ConnectionFailed: | |
Connection refused - connect(2) for "localhost" port 9200 | |
# ./spec/controllers/answers_controller_spec.rb:4:in `block (2 levels) in <top (required)>' | |
# ./spec/controllers/answers_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
# ./spec/controllers/answers_controller_spec.rb:6:in `block (2 levels) in <top (required)>' | |
# ./spec/controllers/answers_controller_spec.rb:17:in `block (3 levels) in <top (required)>' | |
# ------------------ | |
# --- Caused by: --- | |
# Errno::ECONNREFUSED: | |
# Connection refused - connect(2) for "localhost" port 9200 | |
# ./spec/controllers/answers_controller_spec.rb:4:in `block (2 levels) in <top (required)>' | |
29) AnswersController POST create behaves like requires sign in redirects to the sign in page | |
Failure/Error: let(:book) { Fabricate(:book) } | |
Faraday::ConnectionFailed: | |
Connection refused - connect(2) for "localhost" port 9200 | |
Shared Example Group: "requires sign in" called from ./spec/controllers/answers_controller_spec.rb:10 | |
# ./spec/controllers/answers_controller_spec.rb:4:in `block (2 levels) in <top (required)>' | |
# ./spec/controllers/answers_controller_spec.rb:5:in `block (2 levels) in <top (required)>' | |
# ./spec/controllers/answers_controller_spec.rb:6:in `block (2 levels) in <top (required)>' | |
# ./spec/controllers/answers_controller_spec.rb:11:in `block (4 levels) in <top (required)>' | |
# ./spec/support/shared_examples.rb:5:in `block (2 levels) in <top (required)>' | |
# ------------------ | |
# --- Caused by: --- | |
# Errno::ECONNREFUSED: | |
# Connection refused - connect(2) for "localhost" port 9200 | |
# ./spec/controllers/answers_controller_spec.rb:4:in `block (2 levels) in <top (required)>' | |
Deprecation Warnings: | |
Using `stub` from rspec-mocks' old `:should` syntax without explicitly enabling the syntax is deprecated. Use the new `:expect` syntax or explicitly enable `:should` instead. Called from /home/ubuntu/my_ask_about_book/spec/models/book_cover_spec.rb:9:in `block (3 levels) in <top (required)>'. | |
If you need more of the backtrace for any of these deprecations to | |
identify where to make the necessary changes, you can configure | |
`config.raise_errors_for_deprecations!`, and it will turn the | |
deprecation warnings into errors, giving you the full backtrace. | |
1 deprecation warning total | |
Finished in 2 minutes 3.9 seconds (files took 3.43 seconds to load) | |
88 examples, 29 failures | |
Failed examples: | |
rspec ./spec/features/user_registers_spec.rb:8 # User registers with valid user info | |
rspec ./spec/features/user_registers_spec.rb:13 # User registers and recieve email with valid user info | |
rspec ./spec/controllers/books_controller_spec.rb:14 # BooksController GET show sets @book | |
rspec ./spec/controllers/books_controller_spec.rb:55 # BooksController POST create with authenticated user creates a new book with valid params | |
rspec ./spec/controllers/books_controller_spec.rb:60 # BooksController POST create with authenticated user adds job to StoreImageWorker queue | |
rspec ./spec/models/book_spec.rb:29 # Book#save_with_cover assigns @flash_error when no image avaiable | |
rspec ./spec/models/book_spec.rb:16 # Book#save_with_cover saves with valid params | |
rspec ./spec/models/book_spec.rb:22 # Book#save_with_cover sends message to BookCover.save | |
rspec ./spec/models/book_spec.rb:36 # Book#save_with_cover returns true with valid params | |
rspec ./spec/models/book_spec.rb:56 # Book.search returns empty array when blank object is passed | |
rspec ./spec/models/book_spec.rb:60 # Book.search returns empty array when nothing is passed | |
rspec ./spec/controllers/questions_controller_spec.rb:55 # QuestionsController POST vote behaves like requires sign in redirects to the sign in page | |
rspec ./spec/controllers/questions_controller_spec.rb:93 # QuestionsController POST vote invalid params does not create Vote | |
rspec ./spec/controllers/questions_controller_spec.rb:83 # QuestionsController POST vote valid params does not create Vote twice | |
rspec ./spec/controllers/questions_controller_spec.rb:77 # QuestionsController POST vote valid params downvotes | |
rspec ./spec/controllers/questions_controller_spec.rb:71 # QuestionsController POST vote valid params upvotes | |
rspec ./spec/controllers/questions_controller_spec.rb:13 # QuestionsController GET show assigns instance vars | |
rspec ./spec/controllers/questions_controller_spec.rb:46 # QuestionsController POST create with valid params creates a question associated to the line | |
rspec ./spec/controllers/questions_controller_spec.rb:49 # QuestionsController POST create with valid params creates a question associated to the book | |
rspec ./spec/controllers/questions_controller_spec.rb:43 # QuestionsController POST create with valid params creates a question | |
rspec ./spec/controllers/questions_controller_spec.rb:20 # QuestionsController POST create behaves like requires sign in redirects to the sign in page | |
rspec ./spec/models/book_cover_spec.rb:20 # BookCover#save with failure url does not send message to StoreImageWorker.perform_async | |
rspec ./spec/models/book_cover_spec.rb:13 # BookCover#save with successful url sends message to StoreImageWorker.perform_async | |
rspec ./spec/models/aws_wrapper_spec.rb:22 # AwsWrapper AwsWrapper::Image returns an AwsWrapper::Image instance | |
rspec ./spec/models/aws_wrapper_spec.rb:17 # AwsWrapper AwsWrapper::Image sends message to object.put | |
rspec ./spec/models/answer_spec.rb:13 # Answer#book returns a corresponding book | |
rspec ./spec/controllers/answers_controller_spec.rb:25 # AnswersController POST create does not create answer with invalid body | |
rspec ./spec/controllers/answers_controller_spec.rb:14 # AnswersController POST create creates answer with valid params | |
rspec ./spec/controllers/answers_controller_spec.rb:10 # AnswersController POST create behaves like requires sign in redirects to the sign in page | |
Randomized with seed 36792 | |
((bundle exec rspec "--color" "" "spec" --format "progress")) returned exit code 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment