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
require 'vcr' | |
VCR.configure do |c| | |
c.hook_into :webmock | |
c.cassette_library_dir = 'features/cassettes' | |
c.ignore_request do |request| | |
URI(request.uri).port == 8981 #solr test server | |
end | |
# can't get any features to run without this enabled |
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
mysql> show variables like 'innodb%'; | |
+---------------------------------+------------------------+ | |
| Variable_name | Value | | |
+---------------------------------+------------------------+ | |
| innodb_adaptive_flushing | ON | | |
| innodb_adaptive_hash_index | ON | | |
| innodb_additional_mem_pool_size | 8388608 | | |
| innodb_autoextend_increment | 8 | | |
| innodb_autoinc_lock_mode | 1 | | |
| innodb_buffer_pool_instances | 1 | |
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
--- | |
apt_upgrade_file: vmware_tools_upgrade.yml |
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
- hosts: charley | |
user: vagrant | |
sudo: no | |
tasks: | |
- name: Install RVM | |
shell: \curl -L https://get.rvm.io | bash -s stable --autolibs=packages |
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
~/Downloads/ansible | |
☻ ansible charley -a 'ls -la /home/vagrant/.bash_profile' -u vagrant devel 714cb02 ✗ | |
192.168.14.133 | success | rc=0 >> | |
-rw-rw-r-- 1 vagrant vagrant 118 Jul 10 13:21 /home/vagrant/.bash_profile | |
~/Downloads/ansible | |
☻ ansible charley -a 'source /home/vagrant/.bash_profile' -u vagrant devel 714cb02 ✗ | |
192.168.14.133 | FAILED | rc=2 >> | |
[Errno 2] No such file or directory |
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
require 'spec_helper' | |
feature "Editing mailboxes" do | |
scenario "Updating a mailbox" do | |
let!(:mailbox) { Factory(:mailbox) } | |
let!(:location) { Factory(:location, :street_one => "6th NE", :street_two => "Kent NE", :zip => '99999', :city => "Auburn", :state => 'WA', :mailbox => mailbox) } | |
visit '/' | |
click_link '6th NE and Kent NE' | |
click_link 'Edit mailbox' |
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
diff --git i/vendor/plugins/addressable/lib/addressable.rb w/vendor/plugins/addressable/lib/addressable.rb | |
index 59e402c..054a9b5 100644 | |
--- i/vendor/plugins/addressable/lib/addressable.rb | |
+++ w/vendor/plugins/addressable/lib/addressable.rb | |
@@ -116,7 +116,7 @@ module Addressable | |
if has_latlng_fields? | |
build_geocode unless geocode | |
- if address.blank? and latitude.blank? and longitude.blank? | |
+ if address.blank? and latitude.to_f == 0.0 and longitude.to_f == 0.0 |
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
Feature: Puppies are very cute and everyone wants one | |
In order to make everyone happy | |
As a puppy class programmer | |
I want to give everyone a cute virtual puppy | |
Scenario: The puppy is being pet | |
Given we have a puppy | |
And its name is Fred | |
When we pet the puppy | |
Then the puppy wags its tail |
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
if (Bob.is_a?(Robert) ) | |
puts "yes, he is" | |
else | |
puts "no, he isn't" | |
end | |
puts "He's a swell fellow, either way" |
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
Image: 400900309.jpg | |
Format: JPEG (Joint Photographic Experts Group JFIF format) | |
Class: DirectClass | |
Geometry: 227x150+0+0 | |
Resolution: 150x150 | |
Print size: 1.51333x1 | |
Units: PixelsPerInch | |
Type: TrueColor | |
Endianess: Undefined | |
Colorspace: sRGB |
NewerOlder