Skip to content

Instantly share code, notes, and snippets.

@lgrains
lgrains / Test Plan
Created May 14, 2014 00:59
Test Plan to verify that the Orders pages show the correct course names over time.
Test plan for the Orders page:
Use the following link for orders (replace the order_id):
https://testing.berkleemusic.com/store/admin/orders/one?order_id=13453427
The expected name for BMB-125 is shown below. Make sure that it shows up on payments, items and vouchers.
12058228 Music Marketing: Press, Promotion, Distribution, and Retail (MM:PPDR)
9775405 MM:PPDR
3119453 Music Marketing 201
14277150 Music Marketing 101
13453427 Music Marketing 101
13676052 Music Marketing 101
rspec string_calculator.rb
.....F
Failures:
1) add negative number(s)
Failure/Error: raise "negatives not allowed - " + v.to_s if v
RuntimeError:
negatives not allowed - -3
# ./string_calculator.rb:6:in `add'
@lgrains
lgrains / gist:6d964fb775cc2694fe9e
Created June 29, 2015 20:17
squib installation problems
gem install squib
Building native extensions. This could take a while...
ERROR: Error installing squib:
ERROR: Failed to build gem native extension.
/Users/louiserains/.rbenv/versions/2.2.1/bin/ruby -r ./siteconf20150629-66096-vrc64y.rb extconf.rb
checking for --enable-debug-build option... no
checking for -Wall option to compiler... yes
checking for -Waggregate-return option to compiler... yes
checking for -Wcast-align option to compiler... yes
@lgrains
lgrains / gist:e6c660bed68dfe1862a2
Created June 29, 2015 20:19
problems installing librsvg
brew install librsvg
==> Installing dependencies for librsvg: fontconfig, pixman, cairo, libcroco, icu4c, harfbuzz, pango
==> Installing librsvg dependency: fontconfig
==> Downloading https://homebrew.bintray.com/bottles/fontconfig-2.11.1.yosemite.bottle.3.tar.gz
Already downloaded: /Library/Caches/Homebrew/fontconfig-2.11.1.yosemite.bottle.3.tar.gz
==> Pouring fontconfig-2.11.1.yosemite.bottle.3.tar.gz
Error: Permission denied - /usr/local/var/cache
Warning: Bottle installation failed: building from source.
==> Downloading http://fontconfig.org/release/fontconfig-2.11.1.tar.bz2
Already downloaded: /Library/Caches/Homebrew/fontconfig-2.11.1.tar.bz2