Failures: 1) Api::V1::Designer::Logos::FindColorPaletteController validate colors palette controller unauthorized can not call api Failure/Error: font_category_1 = FactoryBot.create(:font_category, name: 'font_category_1', parent_id: 0) ActiveRecord::RecordInvalid: Validation failed: Name has already been taken # ./spec/controllers/api/v1/designer/find_color_palette_controller_spec.rb:15:in `block (2 levels) in ' 2) Api::V1::Designer::Logos::FindColorPaletteController validate colors palette controller wrong input params returns error Failure/Error: font_category_1 = FactoryBot.create(:font_category, name: 'font_category_1', parent_id: 0) ActiveRecord::RecordInvalid: Validation failed: Name has already been taken # ./spec/controllers/api/v1/designer/find_color_palette_controller_spec.rb:15:in `block (2 levels) in ' 3) Api::V1::Designer::Logos::FindColorPaletteController validate colors palette controller all data valid returns correct data Failure/Error: font_category_1 = FactoryBot.create(:font_category, name: 'font_category_1', parent_id: 0) ActiveRecord::RecordInvalid: Validation failed: Name has already been taken # ./spec/controllers/api/v1/designer/find_color_palette_controller_spec.rb:15:in `block (2 levels) in ' 4) Api::V1::Designer::LogosController validate controller unauthorized can not call api Failure/Error: Logo.delete_all ActiveRecord::InvalidForeignKey: PG::ForeignKeyViolation: ERROR: update or delete on table "logos" violates foreign key constraint "fk_rails_94e4d3b972" on table "automation_data" DETAIL: Key (id)=(25) is still referenced from table "automation_data". : DELETE FROM "logos" # ./config/initializers/abstract_adapter.rb:25:in `block in log_with_gdpr_filter' # ./config/initializers/abstract_adapter.rb:25:in `log_with_gdpr_filter' # ./spec/controllers/api/v1/designer/logos_controller_spec.rb:6:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::ForeignKeyViolation: # ERROR: update or delete on table "logos" violates foreign key constraint "fk_rails_94e4d3b972" on table "automation_data" # DETAIL: Key (id)=(25) is still referenced from table "automation_data". # ./config/initializers/abstract_adapter.rb:25:in `block in log_with_gdpr_filter' 5) Api::V1::Designer::LogosController validate controller wrong input params returns error Failure/Error: Logo.delete_all ActiveRecord::InvalidForeignKey: PG::ForeignKeyViolation: ERROR: update or delete on table "logos" violates foreign key constraint "fk_rails_94e4d3b972" on table "automation_data" DETAIL: Key (id)=(25) is still referenced from table "automation_data". : DELETE FROM "logos" # ./config/initializers/abstract_adapter.rb:25:in `block in log_with_gdpr_filter' # ./config/initializers/abstract_adapter.rb:25:in `log_with_gdpr_filter' # ./spec/controllers/api/v1/designer/logos_controller_spec.rb:6:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::ForeignKeyViolation: # ERROR: update or delete on table "logos" violates foreign key constraint "fk_rails_94e4d3b972" on table "automation_data" # DETAIL: Key (id)=(25) is still referenced from table "automation_data". # ./config/initializers/abstract_adapter.rb:25:in `block in log_with_gdpr_filter' 6) Api::V1::Designer::LogosController validate controller all data valid returns correct data Failure/Error: Logo.delete_all ActiveRecord::InvalidForeignKey: PG::ForeignKeyViolation: ERROR: update or delete on table "logos" violates foreign key constraint "fk_rails_94e4d3b972" on table "automation_data" DETAIL: Key (id)=(25) is still referenced from table "automation_data". : DELETE FROM "logos" # ./config/initializers/abstract_adapter.rb:25:in `block in log_with_gdpr_filter' # ./config/initializers/abstract_adapter.rb:25:in `log_with_gdpr_filter' # ./spec/controllers/api/v1/designer/logos_controller_spec.rb:6:in `block (2 levels) in ' # ------------------ # --- Caused by: --- # PG::ForeignKeyViolation: # ERROR: update or delete on table "logos" violates foreign key constraint "fk_rails_94e4d3b972" on table "automation_data" # DETAIL: Key (id)=(25) is still referenced from table "automation_data". # ./config/initializers/abstract_adapter.rb:25:in `block in log_with_gdpr_filter' 7) Designer::FavoriteFontCategoriesController#create assings font_categories as favorite Failure/Error: font_category_1 = FactoryBot.create(:font_category, name: 'font_category_1', parent_id: 0) ActiveRecord::RecordInvalid: Validation failed: Name has already been taken # ./spec/controllers/designer/favorite_font_categories_controller_spec.rb:10:in `block (3 levels) in ' 8) Designer::FavoriteFontCategoriesController#index list all favorited font_categories Failure/Error: font_category_1 = FactoryBot.create(:font_category, name: 'font_category_1', parent_id: 0) ActiveRecord::RecordInvalid: Validation failed: Name has already been taken # ./spec/controllers/designer/favorite_font_categories_controller_spec.rb:39:in `block (3 levels) in ' 9) Designer::FontsController#show positive return font Failure/Error: font_category_1 = FactoryBot.create(:font_category, name: 'font_category_1', parent_id: 0) ActiveRecord::RecordInvalid: Validation failed: Name has already been taken # ./spec/controllers/designer/fonts_controller_spec.rb:11:in `block (4 levels) in ' 10) Designer::FontsController#show negative unathorized can not visit the page Failure/Error: font_category_1 = FactoryBot.create(:font_category, name: 'font_category_1', parent_id: 0) ActiveRecord::RecordInvalid: Validation failed: Name has already been taken # ./spec/controllers/designer/fonts_controller_spec.rb:43:in `block (5 levels) in ' 11) Designer::FontsController#show negative authorized html renders nothing Failure/Error: font_category_1 = FactoryBot.create(:font_category, name: 'font_category_1', parent_id: 0) ActiveRecord::RecordInvalid: Validation failed: Name has already been taken # ./spec/controllers/designer/fonts_controller_spec.rb:57:in `block (5 levels) in ' 12) Designer::FontsController#show negative authorized wrong logo id Failure/Error: font_category_1 = FactoryBot.create(:font_category, name: 'font_category_1', parent_id: 0) ActiveRecord::RecordInvalid: Validation failed: Name has already been taken # ./spec/controllers/designer/fonts_controller_spec.rb:57:in `block (5 levels) in ' 13) Designer::LogoTemplatesController#index negative unathorized can not visit the page Failure/Error: let!(:font_category_1) { FactoryBot.create(:font_category, name: 'font_category_1', parent_id: 0) } ActiveRecord::RecordInvalid: Validation failed: Name has already been taken # ./spec/controllers/designer/logo_templates_controller_spec.rb:5:in `block (2 levels) in ' 14) Designer::LogoTemplatesController#index negative authorized html renders nothing Failure/Error: let!(:font_category_1) { FactoryBot.create(:font_category, name: 'font_category_1', parent_id: 0) } ActiveRecord::RecordInvalid: Validation failed: Name has already been taken # ./spec/controllers/designer/logo_templates_controller_spec.rb:5:in `block (2 levels) in ' 15) Designer::LogoTemplatesController#index negative authorized wrong logo id Failure/Error: let!(:font_category_1) { FactoryBot.create(:font_category, name: 'font_category_1', parent_id: 0) } ActiveRecord::RecordInvalid: Validation failed: Name has already been taken # ./spec/controllers/designer/logo_templates_controller_spec.rb:5:in `block (2 levels) in ' 16) Designer::LogoTemplatesController#create positive do create Failure/Error: let!(:font_category_1) { FactoryBot.create(:font_category, name: 'font_category_1', parent_id: 0) } ActiveRecord::RecordInvalid: Validation failed: Name has already been taken # ./spec/controllers/designer/logo_templates_controller_spec.rb:5:in `block (2 levels) in ' 17) Designer::LogoTemplatesController#create negative unathorized can not visit the page Failure/Error: let!(:font_category_1) { FactoryBot.create(:font_category, name: 'font_category_1', parent_id: 0) } ActiveRecord::RecordInvalid: Validation failed: Name has already been taken # ./spec/controllers/designer/logo_templates_controller_spec.rb:5:in `block (2 levels) in ' 18) Designer::LogoTemplatesController#create negative authorized html renders nothing Failure/Error: let!(:font_category_1) { FactoryBot.create(:font_category, name: 'font_category_1', parent_id: 0) } ActiveRecord::RecordInvalid: Validation failed: Name has already been taken # ./spec/controllers/designer/logo_templates_controller_spec.rb:5:in `block (2 levels) in ' 19) Designer::LogoTemplatesController#create negative authorized wrong logo id Failure/Error: let!(:font_category_1) { FactoryBot.create(:font_category, name: 'font_category_1', parent_id: 0) } ActiveRecord::RecordInvalid: Validation failed: Name has already been taken # ./spec/controllers/designer/logo_templates_controller_spec.rb:5:in `block (2 levels) in ' 20) Designer::LogoTemplatesController#create negative authorized empty params Failure/Error: let!(:font_category_1) { FactoryBot.create(:font_category, name: 'font_category_1', parent_id: 0) } ActiveRecord::RecordInvalid: Validation failed: Name has already been taken # ./spec/controllers/designer/logo_templates_controller_spec.rb:5:in `block (2 levels) in ' 21) Designer::LogoTemplatesController#update positive do update Failure/Error: let!(:font_category_1) { FactoryBot.create(:font_category, name: 'font_category_1', parent_id: 0) } ActiveRecord::RecordInvalid: Validation failed: Name has already been taken # ./spec/controllers/designer/logo_templates_controller_spec.rb:5:in `block (2 levels) in ' 22) Designer::LogoTemplatesController#update negative unathorized can not visit the page Failure/Error: let!(:font_category_1) { FactoryBot.create(:font_category, name: 'font_category_1', parent_id: 0) } ActiveRecord::RecordInvalid: Validation failed: Name has already been taken # ./spec/controllers/designer/logo_templates_controller_spec.rb:5:in `block (2 levels) in ' 23) Designer::LogoTemplatesController#update negative authorized html renders nothing Failure/Error: let!(:font_category_1) { FactoryBot.create(:font_category, name: 'font_category_1', parent_id: 0) } ActiveRecord::RecordInvalid: Validation failed: Name has already been taken # ./spec/controllers/designer/logo_templates_controller_spec.rb:5:in `block (2 levels) in ' 24) Designer::LogoTemplatesController#update negative authorized wrong logo id Failure/Error: let!(:font_category_1) { FactoryBot.create(:font_category, name: 'font_category_1', parent_id: 0) } ActiveRecord::RecordInvalid: Validation failed: Name has already been taken # ./spec/controllers/designer/logo_templates_controller_spec.rb:5:in `block (2 levels) in ' 25) Designer::LogoTemplatesController#update negative authorized empty params Failure/Error: let!(:font_category_1) { FactoryBot.create(:font_category, name: 'font_category_1', parent_id: 0) } ActiveRecord::RecordInvalid: Validation failed: Name has already been taken # ./spec/controllers/designer/logo_templates_controller_spec.rb:5:in `block (2 levels) in ' 26) Designer::LogoTemplatesController#update negative authorized will update only body Failure/Error: let!(:font_category_1) { FactoryBot.create(:font_category, name: 'font_category_1', parent_id: 0) } ActiveRecord::RecordInvalid: Validation failed: Name has already been taken # ./spec/controllers/designer/logo_templates_controller_spec.rb:5:in `block (2 levels) in ' 27) Designer::LogoTemplatesController#destroy positive do destroy html. does nothing Failure/Error: let!(:font_category_1) { FactoryBot.create(:font_category, name: 'font_category_1', parent_id: 0) } ActiveRecord::RecordInvalid: Validation failed: Name has already been taken # ./spec/controllers/designer/logo_templates_controller_spec.rb:5:in `block (2 levels) in ' 28) Designer::LogoTemplatesController#destroy positive do destroy json Failure/Error: let!(:font_category_1) { FactoryBot.create(:font_category, name: 'font_category_1', parent_id: 0) } ActiveRecord::RecordInvalid: Validation failed: Name has already been taken # ./spec/controllers/designer/logo_templates_controller_spec.rb:5:in `block (2 levels) in ' 29) LogosController search_results empty search params return all Failure/Error: font_category_1 = FactoryBot.create(:font_category, name: 'font_category_1', parent_id: 0) ActiveRecord::RecordInvalid: Validation failed: Name has already been taken # ./spec/controllers/logos_controller_spec.rb:57:in `block (3 levels) in ' 30) LogosController search_results search by logo_keywords basic search Failure/Error: font_category_1 = FactoryBot.create(:font_category, name: 'font_category_1', parent_id: 0) ActiveRecord::RecordInvalid: Validation failed: Name has already been taken # ./spec/controllers/logos_controller_spec.rb:57:in `block (3 levels) in ' 31) LogosController search_results search by logo_keywords not existing keyword Failure/Error: font_category_1 = FactoryBot.create(:font_category, name: 'font_category_1', parent_id: 0) ActiveRecord::RecordInvalid: Validation failed: Name has already been taken # ./spec/controllers/logos_controller_spec.rb:57:in `block (3 levels) in ' 32) LogosController search_results search by logo_industry basic search Failure/Error: font_category_1 = FactoryBot.create(:font_category, name: 'font_category_1', parent_id: 0) ActiveRecord::RecordInvalid: Validation failed: Name has already been taken # ./spec/controllers/logos_controller_spec.rb:57:in `block (3 levels) in ' 33) LogosController search_results search by logo_industry not existing keyword Failure/Error: font_category_1 = FactoryBot.create(:font_category, name: 'font_category_1', parent_id: 0) ActiveRecord::RecordInvalid: Validation failed: Name has already been taken # ./spec/controllers/logos_controller_spec.rb:57:in `block (3 levels) in ' 34) LogosController search_results search by logo_color basic search Failure/Error: font_category_1 = FactoryBot.create(:font_category, name: 'font_category_1', parent_id: 0) ActiveRecord::RecordInvalid: Validation failed: Name has already been taken # ./spec/controllers/logos_controller_spec.rb:57:in `block (3 levels) in ' 35) LogosController search_results search by logo_color not existing keyword Failure/Error: font_category_1 = FactoryBot.create(:font_category, name: 'font_category_1', parent_id: 0) ActiveRecord::RecordInvalid: Validation failed: Name has already been taken # ./spec/controllers/logos_controller_spec.rb:57:in `block (3 levels) in ' 36) LogosController search_results search by logo_style basic search Failure/Error: font_category_1 = FactoryBot.create(:font_category, name: 'font_category_1', parent_id: 0) ActiveRecord::RecordInvalid: Validation failed: Name has already been taken # ./spec/controllers/logos_controller_spec.rb:57:in `block (3 levels) in ' 37) LogosController search_results search by logo_style not existing keyword Failure/Error: font_category_1 = FactoryBot.create(:font_category, name: 'font_category_1', parent_id: 0) ActiveRecord::RecordInvalid: Validation failed: Name has already been taken # ./spec/controllers/logos_controller_spec.rb:57:in `block (3 levels) in ' 38) LogosController search_results search by logo_type basic search Failure/Error: font_category_1 = FactoryBot.create(:font_category, name: 'font_category_1', parent_id: 0) ActiveRecord::RecordInvalid: Validation failed: Name has already been taken # ./spec/controllers/logos_controller_spec.rb:57:in `block (3 levels) in ' 39) LogosController search_results search by logo_type not existing Failure/Error: font_category_1 = FactoryBot.create(:font_category, name: 'font_category_1', parent_id: 0) ActiveRecord::RecordInvalid: Validation failed: Name has already been taken # ./spec/controllers/logos_controller_spec.rb:57:in `block (3 levels) in ' 40) LogosController search_results search by price basic search Failure/Error: font_category_1 = FactoryBot.create(:font_category, name: 'font_category_1', parent_id: 0) ActiveRecord::RecordInvalid: Validation failed: Name has already been taken # ./spec/controllers/logos_controller_spec.rb:57:in `block (3 levels) in ' 41) LogosController search_results search by price not existing Failure/Error: font_category_1 = FactoryBot.create(:font_category, name: 'font_category_1', parent_id: 0) ActiveRecord::RecordInvalid: Validation failed: Name has already been taken # ./spec/controllers/logos_controller_spec.rb:57:in `block (3 levels) in ' 42) LogosController search_results search by search_primary_first_letter basic search Failure/Error: font_category_1 = FactoryBot.create(:font_category, name: 'font_category_1', parent_id: 0) ActiveRecord::RecordInvalid: Validation failed: Name has already been taken # ./spec/controllers/logos_controller_spec.rb:57:in `block (3 levels) in ' 43) LogosController search_results mixed search basic search Failure/Error: font_category_1 = FactoryBot.create(:font_category, name: 'font_category_1', parent_id: 0) ActiveRecord::RecordInvalid: Validation failed: Name has already been taken # ./spec/controllers/logos_controller_spec.rb:57:in `block (3 levels) in ' 44) LogosController search_results mixed search not existing Failure/Error: font_category_1 = FactoryBot.create(:font_category, name: 'font_category_1', parent_id: 0) ActiveRecord::RecordInvalid: Validation failed: Name has already been taken # ./spec/controllers/logos_controller_spec.rb:57:in `block (3 levels) in ' 45) LogosController search_results pagination empty params Failure/Error: font_category_1 = FactoryBot.create(:font_category, name: 'font_category_1', parent_id: 0) ActiveRecord::RecordInvalid: Validation failed: Name has already been taken # ./spec/controllers/logos_controller_spec.rb:57:in `block (3 levels) in ' 46) LogosController search_results pagination basic search Failure/Error: font_category_1 = FactoryBot.create(:font_category, name: 'font_category_1', parent_id: 0) ActiveRecord::RecordInvalid: Validation failed: Name has already been taken # ./spec/controllers/logos_controller_spec.rb:57:in `block (3 levels) in ' 47) LogosController search_results pagination wrong params Failure/Error: font_category_1 = FactoryBot.create(:font_category, name: 'font_category_1', parent_id: 0) ActiveRecord::RecordInvalid: Validation failed: Name has already been taken # ./spec/controllers/logos_controller_spec.rb:57:in `block (3 levels) in ' 48) LogosController search_results logged in favorites Failure/Error: font_category_1 = FactoryBot.create(:font_category, name: 'font_category_1', parent_id: 0) ActiveRecord::RecordInvalid: Validation failed: Name has already been taken # ./spec/controllers/logos_controller_spec.rb:57:in `block (3 levels) in ' 49) LogosController search_results logged in privacy policy not confirmed redirects to edit_users_policy_verification_path Failure/Error: font_category_1 = FactoryBot.create(:font_category, name: 'font_category_1', parent_id: 0) ActiveRecord::RecordInvalid: Validation failed: Name has already been taken # ./spec/controllers/logos_controller_spec.rb:57:in `block (3 levels) in ' 50) LogosController search_results logged in privacy policy confirmed response success Failure/Error: font_category_1 = FactoryBot.create(:font_category, name: 'font_category_1', parent_id: 0) ActiveRecord::RecordInvalid: Validation failed: Name has already been taken # ./spec/controllers/logos_controller_spec.rb:57:in `block (3 levels) in ' 51) LogosController search_results logo statuses returns published logos and sold logos Failure/Error: font_category_1 = FactoryBot.create(:font_category, name: 'font_category_1', parent_id: 0) ActiveRecord::RecordInvalid: Validation failed: Name has already been taken # ./spec/controllers/logos_controller_spec.rb:57:in `block (3 levels) in ' 52) LogosController search_results simple_search success NEEDS TO BE REWRITTEN Failure/Error: font_category_1 = FactoryBot.create(:font_category, name: 'font_category_1', parent_id: 0) ActiveRecord::RecordInvalid: Validation failed: Name has already been taken # ./spec/controllers/logos_controller_spec.rb:57:in `block (3 levels) in ' 53) LogosController search_results simple_search reject seo_page does not exist Failure/Error: font_category_1 = FactoryBot.create(:font_category, name: 'font_category_1', parent_id: 0) ActiveRecord::RecordInvalid: Validation failed: Name has already been taken # ./spec/controllers/logos_controller_spec.rb:57:in `block (3 levels) in ' 54) LogosController search_results simple_search reject seo_page is not enabled Failure/Error: font_category_1 = FactoryBot.create(:font_category, name: 'font_category_1', parent_id: 0) ActiveRecord::RecordInvalid: Validation failed: Name has already been taken # ./spec/controllers/logos_controller_spec.rb:57:in `block (3 levels) in ' 55) Logo LOGO MODEL VALIDATIONS Failure/Error: icon_hash.dig('size', 'width') NoMethodError: undefined method `dig' for nil:NilClass # ./app/jobs/automated_templates/index_logo_job.rb:41:in `calculate_width' # ./app/jobs/automated_templates/index_logo_job.rb:19:in `perform' # ./app/models/logo.rb:464:in `auto_tool_reindex' # ./spec/models/logo_spec.rb:101:in `block (3 levels) in ' 56) Logo LOGO MODEL VALIDATIONS Validates price borders of logo Failure/Error: icon_hash.dig('size', 'width') NoMethodError: undefined method `dig' for nil:NilClass # ./app/jobs/automated_templates/index_logo_job.rb:41:in `calculate_width' # ./app/jobs/automated_templates/index_logo_job.rb:19:in `perform' # ./app/models/logo.rb:464:in `auto_tool_reindex' # ./spec/models/logo_spec.rb:101:in `block (3 levels) in ' 57) Logo LOGO MODEL VALIDATIONS Failure/Error: icon_hash.dig('size', 'width') NoMethodError: undefined method `dig' for nil:NilClass # ./app/jobs/automated_templates/index_logo_job.rb:41:in `calculate_width' # ./app/jobs/automated_templates/index_logo_job.rb:19:in `perform' # ./app/models/logo.rb:464:in `auto_tool_reindex' # ./spec/models/logo_spec.rb:101:in `block (3 levels) in ' 58) Logo LOGO MODEL VALIDATIONS Failure/Error: icon_hash.dig('size', 'width') NoMethodError: undefined method `dig' for nil:NilClass # ./app/jobs/automated_templates/index_logo_job.rb:41:in `calculate_width' # ./app/jobs/automated_templates/index_logo_job.rb:19:in `perform' # ./app/models/logo.rb:464:in `auto_tool_reindex' # ./spec/models/logo_spec.rb:101:in `block (3 levels) in ' 59) Logo LOGO MODEL VALIDATIONS Failure/Error: icon_hash.dig('size', 'width') NoMethodError: undefined method `dig' for nil:NilClass # ./app/jobs/automated_templates/index_logo_job.rb:41:in `calculate_width' # ./app/jobs/automated_templates/index_logo_job.rb:19:in `perform' # ./app/models/logo.rb:464:in `auto_tool_reindex' # ./spec/models/logo_spec.rb:101:in `block (3 levels) in ' 60) Logo LOGO MODEL VALIDATIONS Failure/Error: icon_hash.dig('size', 'width') NoMethodError: undefined method `dig' for nil:NilClass # ./app/jobs/automated_templates/index_logo_job.rb:41:in `calculate_width' # ./app/jobs/automated_templates/index_logo_job.rb:19:in `perform' # ./app/models/logo.rb:464:in `auto_tool_reindex' # ./spec/models/logo_spec.rb:101:in `block (3 levels) in ' 61) Logo LOGO MODEL VALIDATIONS Check search_primary_first_letter can be nil Failure/Error: icon_hash.dig('size', 'width') NoMethodError: undefined method `dig' for nil:NilClass # ./app/jobs/automated_templates/index_logo_job.rb:41:in `calculate_width' # ./app/jobs/automated_templates/index_logo_job.rb:19:in `perform' # ./app/models/logo.rb:464:in `auto_tool_reindex' # ./spec/models/logo_spec.rb:101:in `block (3 levels) in ' 62) Logo LOGO MODEL VALIDATIONS price and logo template validation fails when price is absent Failure/Error: icon_hash.dig('size', 'width') NoMethodError: undefined method `dig' for nil:NilClass # ./app/jobs/automated_templates/index_logo_job.rb:41:in `calculate_width' # ./app/jobs/automated_templates/index_logo_job.rb:19:in `perform' # ./app/models/logo.rb:464:in `auto_tool_reindex' # ./spec/models/logo_spec.rb:101:in `block (3 levels) in ' 63) Logo LOGO MODEL VALIDATIONS price and logo template validation fails when default logo_template is nil Failure/Error: icon_hash.dig('size', 'width') NoMethodError: undefined method `dig' for nil:NilClass # ./app/jobs/automated_templates/index_logo_job.rb:41:in `calculate_width' # ./app/jobs/automated_templates/index_logo_job.rb:19:in `perform' # ./app/models/logo.rb:464:in `auto_tool_reindex' # ./spec/models/logo_spec.rb:101:in `block (3 levels) in ' 64) Logo LOGO MODEL VALIDATIONS price and logo template validation fails when author cannot receive stripe payments Failure/Error: icon_hash.dig('size', 'width') NoMethodError: undefined method `dig' for nil:NilClass # ./app/jobs/automated_templates/index_logo_job.rb:41:in `calculate_width' # ./app/jobs/automated_templates/index_logo_job.rb:19:in `perform' # ./app/models/logo.rb:464:in `auto_tool_reindex' # ./spec/models/logo_spec.rb:101:in `block (3 levels) in ' 65) Logo LOGO MODEL CONSTANTS Failure/Error: icon_hash.dig('size', 'width') NoMethodError: undefined method `dig' for nil:NilClass # ./app/jobs/automated_templates/index_logo_job.rb:41:in `calculate_width' # ./app/jobs/automated_templates/index_logo_job.rb:19:in `perform' # ./app/models/logo.rb:464:in `auto_tool_reindex' # ./spec/models/logo_spec.rb:101:in `block (3 levels) in ' 66) Logo LOGO MODEL CONSTANTS Failure/Error: icon_hash.dig('size', 'width') NoMethodError: undefined method `dig' for nil:NilClass # ./app/jobs/automated_templates/index_logo_job.rb:41:in `calculate_width' # ./app/jobs/automated_templates/index_logo_job.rb:19:in `perform' # ./app/models/logo.rb:464:in `auto_tool_reindex' # ./spec/models/logo_spec.rb:101:in `block (3 levels) in ' 67) Logo LOGO MODEL CONSTANTS Failure/Error: icon_hash.dig('size', 'width') NoMethodError: undefined method `dig' for nil:NilClass # ./app/jobs/automated_templates/index_logo_job.rb:41:in `calculate_width' # ./app/jobs/automated_templates/index_logo_job.rb:19:in `perform' # ./app/models/logo.rb:464:in `auto_tool_reindex' # ./spec/models/logo_spec.rb:101:in `block (3 levels) in ' 68) Logo LOGO MODEL CONSTANTS Failure/Error: icon_hash.dig('size', 'width') NoMethodError: undefined method `dig' for nil:NilClass # ./app/jobs/automated_templates/index_logo_job.rb:41:in `calculate_width' # ./app/jobs/automated_templates/index_logo_job.rb:19:in `perform' # ./app/models/logo.rb:464:in `auto_tool_reindex' # ./spec/models/logo_spec.rb:101:in `block (3 levels) in ' 69) Logo LOGO MODEL CONSTANTS Failure/Error: icon_hash.dig('size', 'width') NoMethodError: undefined method `dig' for nil:NilClass # ./app/jobs/automated_templates/index_logo_job.rb:41:in `calculate_width' # ./app/jobs/automated_templates/index_logo_job.rb:19:in `perform' # ./app/models/logo.rb:464:in `auto_tool_reindex' # ./spec/models/logo_spec.rb:101:in `block (3 levels) in ' 70) Logo LOGO MODEL CONSTANTS Failure/Error: icon_hash.dig('size', 'width') NoMethodError: undefined method `dig' for nil:NilClass # ./app/jobs/automated_templates/index_logo_job.rb:41:in `calculate_width' # ./app/jobs/automated_templates/index_logo_job.rb:19:in `perform' # ./app/models/logo.rb:464:in `auto_tool_reindex' # ./spec/models/logo_spec.rb:101:in `block (3 levels) in ' 71) Logo LOGO MODEL CONSTANTS Failure/Error: icon_hash.dig('size', 'width') NoMethodError: undefined method `dig' for nil:NilClass # ./app/jobs/automated_templates/index_logo_job.rb:41:in `calculate_width' # ./app/jobs/automated_templates/index_logo_job.rb:19:in `perform' # ./app/models/logo.rb:464:in `auto_tool_reindex' # ./spec/models/logo_spec.rb:101:in `block (3 levels) in ' 72) Logo LOGO MODEL CONSTANTS Failure/Error: icon_hash.dig('size', 'width') NoMethodError: undefined method `dig' for nil:NilClass # ./app/jobs/automated_templates/index_logo_job.rb:41:in `calculate_width' # ./app/jobs/automated_templates/index_logo_job.rb:19:in `perform' # ./app/models/logo.rb:464:in `auto_tool_reindex' # ./spec/models/logo_spec.rb:101:in `block (3 levels) in ' 73) Logo LOGO MODEL CONSTANTS Failure/Error: icon_hash.dig('size', 'width') NoMethodError: undefined method `dig' for nil:NilClass # ./app/jobs/automated_templates/index_logo_job.rb:41:in `calculate_width' # ./app/jobs/automated_templates/index_logo_job.rb:19:in `perform' # ./app/models/logo.rb:464:in `auto_tool_reindex' # ./spec/models/logo_spec.rb:101:in `block (3 levels) in ' 74) Logo LOGO MODEL CONSTANTS Failure/Error: icon_hash.dig('size', 'width') NoMethodError: undefined method `dig' for nil:NilClass # ./app/jobs/automated_templates/index_logo_job.rb:41:in `calculate_width' # ./app/jobs/automated_templates/index_logo_job.rb:19:in `perform' # ./app/models/logo.rb:464:in `auto_tool_reindex' # ./spec/models/logo_spec.rb:101:in `block (3 levels) in ' 75) Logo LOGO MODEL CONSTANTS Failure/Error: icon_hash.dig('size', 'width') NoMethodError: undefined method `dig' for nil:NilClass # ./app/jobs/automated_templates/index_logo_job.rb:41:in `calculate_width' # ./app/jobs/automated_templates/index_logo_job.rb:19:in `perform' # ./app/models/logo.rb:464:in `auto_tool_reindex' # ./spec/models/logo_spec.rb:101:in `block (3 levels) in ' 76) Logo LOGO MODEL SCOPES Failure/Error: icon_hash.dig('size', 'width') NoMethodError: undefined method `dig' for nil:NilClass # ./app/jobs/automated_templates/index_logo_job.rb:41:in `calculate_width' # ./app/jobs/automated_templates/index_logo_job.rb:19:in `perform' # ./app/models/logo.rb:464:in `auto_tool_reindex' # ./spec/models/logo_spec.rb:101:in `block (3 levels) in ' 77) Logo LOGO MODEL SCOPES Failure/Error: icon_hash.dig('size', 'width') NoMethodError: undefined method `dig' for nil:NilClass # ./app/jobs/automated_templates/index_logo_job.rb:41:in `calculate_width' # ./app/jobs/automated_templates/index_logo_job.rb:19:in `perform' # ./app/models/logo.rb:464:in `auto_tool_reindex' # ./spec/models/logo_spec.rb:101:in `block (3 levels) in ' 78) Logo LOGO MODEL SCOPES Failure/Error: icon_hash.dig('size', 'width') NoMethodError: undefined method `dig' for nil:NilClass # ./app/jobs/automated_templates/index_logo_job.rb:41:in `calculate_width' # ./app/jobs/automated_templates/index_logo_job.rb:19:in `perform' # ./app/models/logo.rb:464:in `auto_tool_reindex' # ./spec/models/logo_spec.rb:101:in `block (3 levels) in ' 79) Logo LOGO MODEL SCOPES Failure/Error: icon_hash.dig('size', 'width') NoMethodError: undefined method `dig' for nil:NilClass # ./app/jobs/automated_templates/index_logo_job.rb:41:in `calculate_width' # ./app/jobs/automated_templates/index_logo_job.rb:19:in `perform' # ./app/models/logo.rb:464:in `auto_tool_reindex' # ./spec/models/logo_spec.rb:101:in `block (3 levels) in ' 80) Logo LOGO MODEL SCOPES Failure/Error: icon_hash.dig('size', 'width') NoMethodError: undefined method `dig' for nil:NilClass # ./app/jobs/automated_templates/index_logo_job.rb:41:in `calculate_width' # ./app/jobs/automated_templates/index_logo_job.rb:19:in `perform' # ./app/models/logo.rb:464:in `auto_tool_reindex' # ./spec/models/logo_spec.rb:101:in `block (3 levels) in ' 81) Logo LOGO MODEL INSTANCE METHODS Failure/Error: icon_hash.dig('size', 'width') NoMethodError: undefined method `dig' for nil:NilClass # ./app/jobs/automated_templates/index_logo_job.rb:41:in `calculate_width' # ./app/jobs/automated_templates/index_logo_job.rb:19:in `perform' # ./app/models/logo.rb:464:in `auto_tool_reindex' # ./spec/models/logo_spec.rb:101:in `block (3 levels) in ' 82) Logo LOGO MODEL INSTANCE METHODS Failure/Error: icon_hash.dig('size', 'width') NoMethodError: undefined method `dig' for nil:NilClass # ./app/jobs/automated_templates/index_logo_job.rb:41:in `calculate_width' # ./app/jobs/automated_templates/index_logo_job.rb:19:in `perform' # ./app/models/logo.rb:464:in `auto_tool_reindex' # ./spec/models/logo_spec.rb:101:in `block (3 levels) in ' 83) Logo LOGO MODEL INSTANCE METHODS Failure/Error: icon_hash.dig('size', 'width') NoMethodError: undefined method `dig' for nil:NilClass # ./app/jobs/automated_templates/index_logo_job.rb:41:in `calculate_width' # ./app/jobs/automated_templates/index_logo_job.rb:19:in `perform' # ./app/models/logo.rb:464:in `auto_tool_reindex' # ./spec/models/logo_spec.rb:101:in `block (3 levels) in ' 84) Logo LOGO MODEL INSTANCE METHODS search_data returns a set fo data for searchkick Failure/Error: icon_hash.dig('size', 'width') NoMethodError: undefined method `dig' for nil:NilClass # ./app/jobs/automated_templates/index_logo_job.rb:41:in `calculate_width' # ./app/jobs/automated_templates/index_logo_job.rb:19:in `perform' # ./app/models/logo.rb:464:in `auto_tool_reindex' # ./spec/models/logo_spec.rb:101:in `block (3 levels) in ' 85) Logo LOGO MODEL INSTANCE METHODS search_data returns a set fo data for searchkick Failure/Error: icon_hash.dig('size', 'width') NoMethodError: undefined method `dig' for nil:NilClass # ./app/jobs/automated_templates/index_logo_job.rb:41:in `calculate_width' # ./app/jobs/automated_templates/index_logo_job.rb:19:in `perform' # ./app/models/logo.rb:464:in `auto_tool_reindex' # ./spec/models/logo_spec.rb:101:in `block (3 levels) in ' 86) Logo LOGO MODEL INSTANCE METHODS States changing unpublished -> published Failure/Error: icon_hash.dig('size', 'width') NoMethodError: undefined method `dig' for nil:NilClass # ./app/jobs/automated_templates/index_logo_job.rb:41:in `calculate_width' # ./app/jobs/automated_templates/index_logo_job.rb:19:in `perform' # ./app/models/logo.rb:464:in `auto_tool_reindex' # ./spec/models/logo_spec.rb:101:in `block (3 levels) in ' 87) Logo LOGO MODEL INSTANCE METHODS States changing unpublished -> disbled (fails) Failure/Error: icon_hash.dig('size', 'width') NoMethodError: undefined method `dig' for nil:NilClass # ./app/jobs/automated_templates/index_logo_job.rb:41:in `calculate_width' # ./app/jobs/automated_templates/index_logo_job.rb:19:in `perform' # ./app/models/logo.rb:464:in `auto_tool_reindex' # ./spec/models/logo_spec.rb:101:in `block (3 levels) in ' 88) Logo LOGO MODEL INSTANCE METHODS States changing published -> unpublished Failure/Error: icon_hash.dig('size', 'width') NoMethodError: undefined method `dig' for nil:NilClass # ./app/jobs/automated_templates/index_logo_job.rb:41:in `calculate_width' # ./app/jobs/automated_templates/index_logo_job.rb:19:in `perform' # ./app/models/logo.rb:464:in `auto_tool_reindex' # ./spec/models/logo_spec.rb:101:in `block (3 levels) in ' 89) Logo LOGO MODEL INSTANCE METHODS States changing published -> disabled Failure/Error: icon_hash.dig('size', 'width') NoMethodError: undefined method `dig' for nil:NilClass # ./app/jobs/automated_templates/index_logo_job.rb:41:in `calculate_width' # ./app/jobs/automated_templates/index_logo_job.rb:19:in `perform' # ./app/models/logo.rb:464:in `auto_tool_reindex' # ./spec/models/logo_spec.rb:101:in `block (3 levels) in ' 90) Logo LOGO MODEL INSTANCE METHODS States changing disabled -> published (fails) Failure/Error: icon_hash.dig('size', 'width') NoMethodError: undefined method `dig' for nil:NilClass # ./app/jobs/automated_templates/index_logo_job.rb:41:in `calculate_width' # ./app/jobs/automated_templates/index_logo_job.rb:19:in `perform' # ./app/models/logo.rb:464:in `auto_tool_reindex' # ./spec/models/logo_spec.rb:101:in `block (3 levels) in ' 91) Logo LOGO MODEL INSTANCE METHODS States changing disabled -> unpublished (fails) Failure/Error: icon_hash.dig('size', 'width') NoMethodError: undefined method `dig' for nil:NilClass # ./app/jobs/automated_templates/index_logo_job.rb:41:in `calculate_width' # ./app/jobs/automated_templates/index_logo_job.rb:19:in `perform' # ./app/models/logo.rb:464:in `auto_tool_reindex' # ./spec/models/logo_spec.rb:101:in `block (3 levels) in ' 92) Logo LOGO MODEL INSTANCE METHODS to_designer_hash returns hash of logo instance for designer api Failure/Error: icon_hash.dig('size', 'width') NoMethodError: undefined method `dig' for nil:NilClass # ./app/jobs/automated_templates/index_logo_job.rb:41:in `calculate_width' # ./app/jobs/automated_templates/index_logo_job.rb:19:in `perform' # ./app/models/logo.rb:464:in `auto_tool_reindex' # ./spec/models/logo_spec.rb:101:in `block (3 levels) in ' 93) Logo LOGO MODEL INSTANCE METHODS primary_font_chars Failure/Error: icon_hash.dig('size', 'width') NoMethodError: undefined method `dig' for nil:NilClass # ./app/jobs/automated_templates/index_logo_job.rb:41:in `calculate_width' # ./app/jobs/automated_templates/index_logo_job.rb:19:in `perform' # ./app/models/logo.rb:464:in `auto_tool_reindex' # ./spec/models/logo_spec.rb:101:in `block (3 levels) in ' 94) Logo LOGO MODEL INSTANCE METHODS secondary_font_chars Failure/Error: icon_hash.dig('size', 'width') NoMethodError: undefined method `dig' for nil:NilClass # ./app/jobs/automated_templates/index_logo_job.rb:41:in `calculate_width' # ./app/jobs/automated_templates/index_logo_job.rb:19:in `perform' # ./app/models/logo.rb:464:in `auto_tool_reindex' # ./spec/models/logo_spec.rb:101:in `block (3 levels) in ' 95) Logo LOGO MODEL INSTANCE METHODS default_logo_template Failure/Error: icon_hash.dig('size', 'width') NoMethodError: undefined method `dig' for nil:NilClass # ./app/jobs/automated_templates/index_logo_job.rb:41:in `calculate_width' # ./app/jobs/automated_templates/index_logo_job.rb:19:in `perform' # ./app/models/logo.rb:464:in `auto_tool_reindex' # ./spec/models/logo_spec.rb:101:in `block (3 levels) in ' 96) Logo LOGO MODEL INSTANCE METHODS is_font_logo? postive Failure/Error: icon_hash.dig('size', 'width') NoMethodError: undefined method `dig' for nil:NilClass # ./app/jobs/automated_templates/index_logo_job.rb:41:in `calculate_width' # ./app/jobs/automated_templates/index_logo_job.rb:19:in `perform' # ./app/models/logo.rb:464:in `auto_tool_reindex' # ./spec/models/logo_spec.rb:101:in `block (3 levels) in ' 97) Logo LOGO MODEL INSTANCE METHODS is_font_logo? negative Failure/Error: icon_hash.dig('size', 'width') NoMethodError: undefined method `dig' for nil:NilClass # ./app/jobs/automated_templates/index_logo_job.rb:41:in `calculate_width' # ./app/jobs/automated_templates/index_logo_job.rb:19:in `perform' # ./app/models/logo.rb:464:in `auto_tool_reindex' # ./spec/models/logo_spec.rb:101:in `block (3 levels) in ' 98) Logo LOGO MODEL INSTANCE METHODS get_logo_template_by_params retunrs logo_template by name Failure/Error: icon_hash.dig('size', 'width') NoMethodError: undefined method `dig' for nil:NilClass # ./app/jobs/automated_templates/index_logo_job.rb:41:in `calculate_width' # ./app/jobs/automated_templates/index_logo_job.rb:19:in `perform' # ./app/models/logo.rb:464:in `auto_tool_reindex' # ./spec/models/logo_spec.rb:101:in `block (3 levels) in ' 99) Logo LOGO MODEL INSTANCE METHODS get_logo_template_by_params returns default logo template Failure/Error: icon_hash.dig('size', 'width') NoMethodError: undefined method `dig' for nil:NilClass # ./app/jobs/automated_templates/index_logo_job.rb:41:in `calculate_width' # ./app/jobs/automated_templates/index_logo_job.rb:19:in `perform' # ./app/models/logo.rb:464:in `auto_tool_reindex' # ./spec/models/logo_spec.rb:101:in `block (3 levels) in ' 100) Logo LOGO MODEL INSTANCE METHODS get_logo_template_by_params returns small (guessing) logo template Failure/Error: icon_hash.dig('size', 'width') NoMethodError: undefined method `dig' for nil:NilClass # ./app/jobs/automated_templates/index_logo_job.rb:41:in `calculate_width' # ./app/jobs/automated_templates/index_logo_job.rb:19:in `perform' # ./app/models/logo.rb:464:in `auto_tool_reindex' # ./spec/models/logo_spec.rb:101:in `block (3 levels) in ' 101) Logo LOGO MODEL INSTANCE METHODS get_logo_template_by_params returns medium (guessing) logo template Failure/Error: icon_hash.dig('size', 'width') NoMethodError: undefined method `dig' for nil:NilClass # ./app/jobs/automated_templates/index_logo_job.rb:41:in `calculate_width' # ./app/jobs/automated_templates/index_logo_job.rb:19:in `perform' # ./app/models/logo.rb:464:in `auto_tool_reindex' # ./spec/models/logo_spec.rb:101:in `block (3 levels) in ' 102) Logo LOGO MODEL INSTANCE METHODS get_logo_template_by_params returns large (guessing) logo template Failure/Error: icon_hash.dig('size', 'width') NoMethodError: undefined method `dig' for nil:NilClass # ./app/jobs/automated_templates/index_logo_job.rb:41:in `calculate_width' # ./app/jobs/automated_templates/index_logo_job.rb:19:in `perform' # ./app/models/logo.rb:464:in `auto_tool_reindex' # ./spec/models/logo_spec.rb:101:in `block (3 levels) in ' 103) Logo LOGO MODEL INSTANCE METHODS get_logo_template_by_params returns only-primary logo template (guessing) Failure/Error: icon_hash.dig('size', 'width') NoMethodError: undefined method `dig' for nil:NilClass # ./app/jobs/automated_templates/index_logo_job.rb:41:in `calculate_width' # ./app/jobs/automated_templates/index_logo_job.rb:19:in `perform' # ./app/models/logo.rb:464:in `auto_tool_reindex' # ./spec/models/logo_spec.rb:101:in `block (3 levels) in ' 104) Logo LOGO MODEL INSTANCE METHODS get_logo_template_by_params returns default (only primary not existing) Failure/Error: icon_hash.dig('size', 'width') NoMethodError: undefined method `dig' for nil:NilClass # ./app/jobs/automated_templates/index_logo_job.rb:41:in `calculate_width' # ./app/jobs/automated_templates/index_logo_job.rb:19:in `perform' # ./app/models/logo.rb:464:in `auto_tool_reindex' # ./spec/models/logo_spec.rb:101:in `block (3 levels) in ' 105) Logo LOGO MODEL CLASS METHODS boost_rules returns hash of boost rules for searchkick Failure/Error: icon_hash.dig('size', 'width') NoMethodError: undefined method `dig' for nil:NilClass # ./app/jobs/automated_templates/index_logo_job.rb:41:in `calculate_width' # ./app/jobs/automated_templates/index_logo_job.rb:19:in `perform' # ./app/models/logo.rb:464:in `auto_tool_reindex' # ./spec/models/logo_spec.rb:101:in `block (3 levels) in ' 106) LogoTemplate LOGO_TEMPLATE model #extract_colors returns hash of colors Failure/Error: icon_hash.dig('size', 'width') NoMethodError: undefined method `dig' for nil:NilClass # ./app/jobs/automated_templates/index_logo_job.rb:41:in `calculate_width' # ./app/jobs/automated_templates/index_logo_job.rb:19:in `perform' # ./app/models/logo.rb:464:in `auto_tool_reindex' # ./spec/models/logo_template_spec.rb:47:in `block (3 levels) in ' Deprecation Warnings: Using `should` from rspec-expectations' old `:should` syntax without explicitly enabling the syntax is deprecated. Use the new `:expect` syntax or explicitly enable `:should` with `config.expect_with(:rspec) { |c| c.syntax = :should }` instead. Called from /Users/bohdankutkovy/Documents/CODE/projects/sigma/brandzy.com/spec/models/font_category_spec.rb:10:in `block (3 levels) in '. 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 /Users/bohdankutkovy/Documents/CODE/projects/sigma/brandzy.com/spec/controllers/logos_controller_spec.rb:808:in `block (4 levels) in '. 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. 2 deprecation warnings total Finished in 5 minutes 25 seconds (files took 17.43 seconds to load) 566 examples, 106 failures, 24 pending Failed examples: rspec ./spec/controllers/api/v1/designer/find_color_palette_controller_spec.rb:41 # Api::V1::Designer::Logos::FindColorPaletteController validate colors palette controller unauthorized can not call api rspec ./spec/controllers/api/v1/designer/find_color_palette_controller_spec.rb:51 # Api::V1::Designer::Logos::FindColorPaletteController validate colors palette controller wrong input params returns error rspec ./spec/controllers/api/v1/designer/find_color_palette_controller_spec.rb:60 # Api::V1::Designer::Logos::FindColorPaletteController validate colors palette controller all data valid returns correct data rspec ./spec/controllers/api/v1/designer/logos_controller_spec.rb:32 # Api::V1::Designer::LogosController validate controller unauthorized can not call api rspec ./spec/controllers/api/v1/designer/logos_controller_spec.rb:41 # Api::V1::Designer::LogosController validate controller wrong input params returns error rspec ./spec/controllers/api/v1/designer/logos_controller_spec.rb:50 # Api::V1::Designer::LogosController validate controller all data valid returns correct data rspec ./spec/controllers/designer/favorite_font_categories_controller_spec.rb:9 # Designer::FavoriteFontCategoriesController#create assings font_categories as favorite rspec ./spec/controllers/designer/favorite_font_categories_controller_spec.rb:38 # Designer::FavoriteFontCategoriesController#index list all favorited font_categories rspec ./spec/controllers/designer/fonts_controller_spec.rb:10 # Designer::FontsController#show positive return font rspec ./spec/controllers/designer/fonts_controller_spec.rb:42 # Designer::FontsController#show negative unathorized can not visit the page rspec ./spec/controllers/designer/fonts_controller_spec.rb:63 # Designer::FontsController#show negative authorized html renders nothing rspec ./spec/controllers/designer/fonts_controller_spec.rb:68 # Designer::FontsController#show negative authorized wrong logo id rspec ./spec/controllers/designer/logo_templates_controller_spec.rb:27 # Designer::LogoTemplatesController#index negative unathorized can not visit the page rspec ./spec/controllers/designer/logo_templates_controller_spec.rb:38 # Designer::LogoTemplatesController#index negative authorized html renders nothing rspec ./spec/controllers/designer/logo_templates_controller_spec.rb:44 # Designer::LogoTemplatesController#index negative authorized wrong logo id rspec ./spec/controllers/designer/logo_templates_controller_spec.rb:67 # Designer::LogoTemplatesController#create positive do create rspec ./spec/controllers/designer/logo_templates_controller_spec.rb:80 # Designer::LogoTemplatesController#create negative unathorized can not visit the page rspec ./spec/controllers/designer/logo_templates_controller_spec.rb:91 # Designer::LogoTemplatesController#create negative authorized html renders nothing rspec ./spec/controllers/designer/logo_templates_controller_spec.rb:97 # Designer::LogoTemplatesController#create negative authorized wrong logo id rspec ./spec/controllers/designer/logo_templates_controller_spec.rb:102 # Designer::LogoTemplatesController#create negative authorized empty params rspec ./spec/controllers/designer/logo_templates_controller_spec.rb:116 # Designer::LogoTemplatesController#update positive do update rspec ./spec/controllers/designer/logo_templates_controller_spec.rb:130 # Designer::LogoTemplatesController#update negative unathorized can not visit the page rspec ./spec/controllers/designer/logo_templates_controller_spec.rb:145 # Designer::LogoTemplatesController#update negative authorized html renders nothing rspec ./spec/controllers/designer/logo_templates_controller_spec.rb:155 # Designer::LogoTemplatesController#update negative authorized wrong logo id rspec ./spec/controllers/designer/logo_templates_controller_spec.rb:161 # Designer::LogoTemplatesController#update negative authorized empty params rspec ./spec/controllers/designer/logo_templates_controller_spec.rb:171 # Designer::LogoTemplatesController#update negative authorized will update only body rspec ./spec/controllers/designer/logo_templates_controller_spec.rb:191 # Designer::LogoTemplatesController#destroy positive do destroy html. does nothing rspec ./spec/controllers/designer/logo_templates_controller_spec.rb:201 # Designer::LogoTemplatesController#destroy positive do destroy json rspec ./spec/controllers/logos_controller_spec.rb:123 # LogosController search_results empty search params return all rspec ./spec/controllers/logos_controller_spec.rb:130 # LogosController search_results search by logo_keywords basic search rspec ./spec/controllers/logos_controller_spec.rb:141 # LogosController search_results search by logo_keywords not existing keyword rspec ./spec/controllers/logos_controller_spec.rb:148 # LogosController search_results search by logo_industry basic search rspec ./spec/controllers/logos_controller_spec.rb:159 # LogosController search_results search by logo_industry not existing keyword rspec ./spec/controllers/logos_controller_spec.rb:166 # LogosController search_results search by logo_color basic search rspec ./spec/controllers/logos_controller_spec.rb:177 # LogosController search_results search by logo_color not existing keyword rspec ./spec/controllers/logos_controller_spec.rb:184 # LogosController search_results search by logo_style basic search rspec ./spec/controllers/logos_controller_spec.rb:195 # LogosController search_results search by logo_style not existing keyword rspec ./spec/controllers/logos_controller_spec.rb:202 # LogosController search_results search by logo_type basic search rspec ./spec/controllers/logos_controller_spec.rb:213 # LogosController search_results search by logo_type not existing rspec ./spec/controllers/logos_controller_spec.rb:220 # LogosController search_results search by price basic search rspec ./spec/controllers/logos_controller_spec.rb:231 # LogosController search_results search by price not existing rspec ./spec/controllers/logos_controller_spec.rb:238 # LogosController search_results search by search_primary_first_letter basic search rspec ./spec/controllers/logos_controller_spec.rb:270 # LogosController search_results mixed search basic search rspec ./spec/controllers/logos_controller_spec.rb:304 # LogosController search_results mixed search not existing rspec ./spec/controllers/logos_controller_spec.rb:319 # LogosController search_results pagination empty params rspec ./spec/controllers/logos_controller_spec.rb:325 # LogosController search_results pagination basic search rspec ./spec/controllers/logos_controller_spec.rb:336 # LogosController search_results pagination wrong params rspec ./spec/controllers/logos_controller_spec.rb:370 # LogosController search_results logged in favorites rspec ./spec/controllers/logos_controller_spec.rb:348 # LogosController search_results logged in privacy policy not confirmed redirects to edit_users_policy_verification_path rspec ./spec/controllers/logos_controller_spec.rb:359 # LogosController search_results logged in privacy policy confirmed response success rspec ./spec/controllers/logos_controller_spec.rb:385 # LogosController search_results logo statuses returns published logos and sold logos rspec ./spec/controllers/logos_controller_spec.rb:400 # LogosController search_results simple_search success NEEDS TO BE REWRITTEN rspec ./spec/controllers/logos_controller_spec.rb:419 # LogosController search_results simple_search reject seo_page does not exist rspec ./spec/controllers/logos_controller_spec.rb:426 # LogosController search_results simple_search reject seo_page is not enabled rspec ./spec/models/logo_spec.rb:118 # Logo LOGO MODEL VALIDATIONS rspec ./spec/models/logo_spec.rb:119 # Logo LOGO MODEL VALIDATIONS Validates price borders of logo rspec ./spec/models/logo_spec.rb:132 # Logo LOGO MODEL VALIDATIONS rspec ./spec/models/logo_spec.rb:133 # Logo LOGO MODEL VALIDATIONS rspec ./spec/models/logo_spec.rb:134 # Logo LOGO MODEL VALIDATIONS rspec ./spec/models/logo_spec.rb:135 # Logo LOGO MODEL VALIDATIONS rspec ./spec/models/logo_spec.rb:136 # Logo LOGO MODEL VALIDATIONS Check search_primary_first_letter can be nil rspec ./spec/models/logo_spec.rb:142 # Logo LOGO MODEL VALIDATIONS price and logo template validation fails when price is absent rspec ./spec/models/logo_spec.rb:149 # Logo LOGO MODEL VALIDATIONS price and logo template validation fails when default logo_template is nil rspec ./spec/models/logo_spec.rb:156 # Logo LOGO MODEL VALIDATIONS price and logo template validation fails when author cannot receive stripe payments rspec ./spec/models/logo_spec.rb:166 # Logo LOGO MODEL CONSTANTS rspec ./spec/models/logo_spec.rb:167 # Logo LOGO MODEL CONSTANTS rspec ./spec/models/logo_spec.rb:168 # Logo LOGO MODEL CONSTANTS rspec ./spec/models/logo_spec.rb:169 # Logo LOGO MODEL CONSTANTS rspec ./spec/models/logo_spec.rb:170 # Logo LOGO MODEL CONSTANTS rspec ./spec/models/logo_spec.rb:171 # Logo LOGO MODEL CONSTANTS rspec ./spec/models/logo_spec.rb:172 # Logo LOGO MODEL CONSTANTS rspec ./spec/models/logo_spec.rb:173 # Logo LOGO MODEL CONSTANTS rspec ./spec/models/logo_spec.rb:174 # Logo LOGO MODEL CONSTANTS rspec ./spec/models/logo_spec.rb:178 # Logo LOGO MODEL CONSTANTS rspec ./spec/models/logo_spec.rb:179 # Logo LOGO MODEL CONSTANTS rspec ./spec/models/logo_spec.rb:191 # Logo LOGO MODEL SCOPES rspec ./spec/models/logo_spec.rb:192 # Logo LOGO MODEL SCOPES rspec ./spec/models/logo_spec.rb:193 # Logo LOGO MODEL SCOPES rspec ./spec/models/logo_spec.rb:194 # Logo LOGO MODEL SCOPES rspec ./spec/models/logo_spec.rb:195 # Logo LOGO MODEL SCOPES rspec ./spec/models/logo_spec.rb[1:2:4:3] # Logo LOGO MODEL INSTANCE METHODS rspec ./spec/models/logo_spec.rb[1:2:4:4] # Logo LOGO MODEL INSTANCE METHODS rspec ./spec/models/logo_spec.rb[1:2:4:5] # Logo LOGO MODEL INSTANCE METHODS rspec ./spec/models/logo_spec.rb:201 # Logo LOGO MODEL INSTANCE METHODS search_data returns a set fo data for searchkick rspec ./spec/models/logo_spec.rb:221 # Logo LOGO MODEL INSTANCE METHODS search_data returns a set fo data for searchkick rspec ./spec/models/logo_spec.rb:228 # Logo LOGO MODEL INSTANCE METHODS States changing unpublished -> published rspec ./spec/models/logo_spec.rb:235 # Logo LOGO MODEL INSTANCE METHODS States changing unpublished -> disbled (fails) rspec ./spec/models/logo_spec.rb:240 # Logo LOGO MODEL INSTANCE METHODS States changing published -> unpublished rspec ./spec/models/logo_spec.rb:244 # Logo LOGO MODEL INSTANCE METHODS States changing published -> disabled rspec ./spec/models/logo_spec.rb:249 # Logo LOGO MODEL INSTANCE METHODS States changing disabled -> published (fails) rspec ./spec/models/logo_spec.rb:253 # Logo LOGO MODEL INSTANCE METHODS States changing disabled -> unpublished (fails) rspec ./spec/models/logo_spec.rb:264 # Logo LOGO MODEL INSTANCE METHODS to_designer_hash returns hash of logo instance for designer api rspec ./spec/models/logo_spec.rb:284 # Logo LOGO MODEL INSTANCE METHODS primary_font_chars rspec ./spec/models/logo_spec.rb:288 # Logo LOGO MODEL INSTANCE METHODS secondary_font_chars rspec ./spec/models/logo_spec.rb:292 # Logo LOGO MODEL INSTANCE METHODS default_logo_template rspec ./spec/models/logo_spec.rb:296 # Logo LOGO MODEL INSTANCE METHODS is_font_logo? postive rspec ./spec/models/logo_spec.rb:301 # Logo LOGO MODEL INSTANCE METHODS is_font_logo? negative rspec ./spec/models/logo_spec.rb:309 # Logo LOGO MODEL INSTANCE METHODS get_logo_template_by_params retunrs logo_template by name rspec ./spec/models/logo_spec.rb:320 # Logo LOGO MODEL INSTANCE METHODS get_logo_template_by_params returns default logo template rspec ./spec/models/logo_spec.rb:325 # Logo LOGO MODEL INSTANCE METHODS get_logo_template_by_params returns small (guessing) logo template rspec ./spec/models/logo_spec.rb:330 # Logo LOGO MODEL INSTANCE METHODS get_logo_template_by_params returns medium (guessing) logo template rspec ./spec/models/logo_spec.rb:335 # Logo LOGO MODEL INSTANCE METHODS get_logo_template_by_params returns large (guessing) logo template rspec ./spec/models/logo_spec.rb:340 # Logo LOGO MODEL INSTANCE METHODS get_logo_template_by_params returns only-primary logo template (guessing) rspec ./spec/models/logo_spec.rb:345 # Logo LOGO MODEL INSTANCE METHODS get_logo_template_by_params returns default (only primary not existing) rspec ./spec/models/logo_spec.rb:356 # Logo LOGO MODEL CLASS METHODS boost_rules returns hash of boost rules for searchkick rspec ./spec/models/logo_template_spec.rb:63 # LogoTemplate LOGO_TEMPLATE model #extract_colors returns hash of colors Coverage report generated for RSpec to /Users/bohdankutkovy/Documents/CODE/projects/sigma/brandzy.com/coverage. 6931 / 9482 LOC (73.1%) covered.