Skip to content

Instantly share code, notes, and snippets.

View ChasManRors's full-sized avatar

Charles Magid ChasManRors

View GitHub Profile
Failed examples:
rspec ./spec/features/campaign_builder/placements/planograms_spec.rb:137 # Planograms tab planograms queue section when a planogram from a previous campaign is added to the queue of a future one appears in the queue
rspec ./spec/features/campaign_builder/placements/planograms_spec.rb:153 # Planograms tab planograms queue section when a planogram from a previous campaign is added to the queue of a future one but is cloned in the current campaign does not appear in the queue
rspec ./spec/features/campaign_builder/placements/planograms_spec.rb:104 # Planograms tab planograms queue section when nothing is added shows the empty list
rspec ./spec/features/campaign_builder/placements/planograms_spec.rb:108 # Planograms tab planograms queue section when nothing is added shows the add to queue button disabled
rspec ./spec/features/campaign_builder/placements/planograms_spec.rb:118 # Planograms tab planograms queue section when add one to the queue appears in the queue
rspec ./spec/features/campaign_
Finished in 22 minutes 51 seconds (files took 13.91 seconds to load)
1132 examples, 227 failures, 21 pending
Failed examples:
rspec ./spec/features/campaign_builder/assortment_group_end_to_end_spec.rb:7 # AssortmentGroups end to end feature allows AssortmentGroups creation, placements, importing, previewing, and SKUter
rspec ./spec/features/campaign_builder/preview/planograms_spec.rb:51 # Planograms tab preview by store selecting a store shows the preview texts
rspec ./spec/features/campaign_builder/preview/planograms_spec.rb:61 # Planograms tab preview by store selecting a store shows the previous filter if reloads the page
rspec ./spec/features/campaign_builder/preview/planograms_spec.rb:56 # Planograms tab preview by store selecting a store show the magellan floorplan link
rspec ./spec/features/magellan/questionnaires_spec.rb:82 # Questionnaires with a fixture questionnaire can take the survey
* campaigns_spec.rb:81 Not the one I am looking for but close campaigns_spec.rb[1:7:1:1:1:2]
Thu Feb 8 16:06:44 2018
#+BEGIN_EXAMPLE
https://travis-ci.com/RBM-Technologies/vmm/jobs/109664233#L1583
Failures:
1) campaigns page create with valid params should create a new campaign
@ChasManRors
ChasManRors / gist:66416390047f982abfc73e1b0b0b5cf0
Last active September 14, 2020 13:15
Can not get emacsclient to work on macos. Tried everything I've seen. Please email me directly with respect to this request. Thank you.
# Running on
macOS 10.12.6 (16G1036)
# From iterm
$ emacsclient ~/.emacs.d/init.el
emacsclient: can't find socket; have you started the server?
To start the server in Emacs, type "M-x server-start".
emacsclient: No socket or alternate editor. Please use:
--socket-name
========== END LOCATION: 10123126 ==========
========== END LOCATION: 10018067 ==========
========== END LOCATION: 12909 ==========
========== END LOCATION: 10022774 ==========
========== END LOCATION: 10001773 ==========
========== END LOCATION: 10002102 ==========
========== END LOCATION: 10042020 ==========
========== END LOCATION: 10003431 ==========
========== END LOCATION: 10022953 ==========
========== END LOCATION: 10005849 ==========
This file has been truncated, but you can view the full file.
Script started on Thu May 18 15:30:48 2017
[?1034hvmm (development_FR-124-2nd)$ be rspec spec
Knapsack time offset warning enabled!
/Users/cmagid/.rvm/gems/[email protected]/gems/builder-3.1.4/lib/builder/xchar.rb:111: warning: constant ::Fixnum is deprecated
/Users/cmagid/.rvm/gems/[email protected]/gems/net-ldap-0.9.0/lib/net/ber/core_ext.rb:38: warning: constant ::Bignum is deprecated
/Users/cmagid/.rvm/gems/[email protected]/gems/net-ldap-0.9.0/lib/net/ber/core_ext.rb:45: warning: constant ::Fixnum is deprecated
/Users/cmagid/projects/vmm/sites/vzw/app/models/location.rb:89: warning: already initialized constant Location::SYNC_CONFIG
/Users/cmagid/projects/vmm/app/models/location.rb:1441: warning: previous definition of SYNC_CONFIG was here
/Users/cmagid/.rvm/gems/[email protected]/gems/redis-3.1.0/lib/redis/client.rb:406: warning: constant ::Fixnum is deprecated
This file has been truncated, but you can view the full file.
[app@vzw-vmm-dev-i-043fba5575e167c20 current]$ RAILS_ENV=test bundle exec rspec spec
Knapsack time offset warning enabled!
[DEPRECATION] requiring "RMagick" is deprecated. Use "rmagick" instead
/home/app/rails/current/config/application.rb:101: warning: already initialized constant HOST
/home/app/rails/current/config/site_deployed.rb:1: warning: previous definition of HOST was here
/home/app/rails/current/sites/vzw/app/models/location.rb:89: warning: already initialized constant Location::SYNC_CONFIG
/home/app/rails/current/app/models/location.rb:1441: warning: previous definition of SYNC_CONFIG was here
/home/app/rails/current/sites/vzw/app/models/order.rb:2: warning: already initialized constant Order::StatusCodes
/home/app/rails/current/app/models/order.rb:4: warning: previous definition of StatusCodes was here
/home/app/rails/current/sites/vzw/app/models/order.rb:3: warning: already initialized constant Order::StatusCodeText
[app@vzw-vmm-dev-i-043fba5575e167c20 current]$ RAILS_ENV=test bundle exec rspec spec
Knapsack time offset warning enabled!
[DEPRECATION] requiring "RMagick" is deprecated. Use "rmagick" instead
/home/app/rails/current/config/application.rb:101: warning: already initialized constant HOST
/home/app/rails/current/config/site_deployed.rb:1: warning: previous definition of HOST was here
/home/app/rails/current/sites/vzw/app/models/location.rb:89: warning: already initialized constant Location::SYNC_CONFIG
/home/app/rails/current/app/models/location.rb:1441: warning: previous definition of SYNC_CONFIG was here
/home/app/rails/current/sites/vzw/app/models/order.rb:2: warning: already initialized constant Order::StatusCodes
/home/app/rails/current/app/models/order.rb:4: warning: previous definition of StatusCodes was here
/home/app/rails/current/sites/vzw/app/models/order.rb:3: warning: already initialized constant Order::StatusCodeText
@ChasManRors
ChasManRors / gist:287f9ece4badeb4488c747db5f6a667d
Created April 19, 2017 23:05
Git is great. It just needs a little understanding.
vmm (fr8_1_sme-FR-58)$ git push
To github.com:ChasManRors/vmm.git
! [rejected] fr8_1_sme-FR-58 -> fr8_1_sme-FR-58 (non-fast-forward)
error: failed to push some refs to '[email protected]:ChasManRors/vmm.git'
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. Integrate the remote changes (e.g.
hint: 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
From: /Users/cmagid/projects/vmm/app/views/notifier/bad_lines_notice.html.erb @ line 22 ActionView::CompiledTemplates#_app_views_notifier_bad_lines_notice_html_erb___1161504312611135632_70189716521000:
17:
18: <% line.violations.each do |v| %>
19: <tr>
20: <td><%= line.line_number %></td>
21: <td><%= line.line %></td>
=> 22: <td><%= v.first.try :violation if v.is_a? Array %></td>
23: <td><%= v.first.try :violation_description if v.is_a? Array %></td>
24: </tr>