I hereby claim:
- I am kerryb on github.
- I am kerryb (https://keybase.io/kerryb) on keybase.
- I have a public key whose fingerprint is 8DA4 4B51 5A90 D3AE 07B9 2FD2 5E07 C65F E855 9D1D
To claim this, I am signing this object:
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'spec' | |
class Foo | |
def self.foo | |
Bar.bar | |
rescue StandardError | |
end |
# If you want to check that something's true or false in the normal ruby sense | |
# (ie anything other than false or nil is true), you can use double negation | |
# to force it into an actual boolean (eg !!foo.should be_true). To keep this | |
# ugliness out of your tests, stick these matchers in your spec helper: | |
def be_truish | |
return simple_matcher do |obj, matcher| | |
matcher.description = 'be true(ish)' | |
matcher.failure_message = "Expected #{obj.inspect} to be true(ish)" | |
matcher.negative_failure_message = "Expected #{obj.inspect} not to be true(ish)" |
I hereby claim:
To claim this, I am signing this object:
# config/application.rb | |
require File.expand_path('../boot', __FILE__) | |
# Pick the frameworks you want: | |
require "active_model/railtie" | |
# require "active_record/railtie" | |
require "action_controller/railtie" | |
require "action_mailer/railtie" | |
require "action_view/railtie" |
[color] | |
diff = auto | |
status = auto | |
branch = auto | |
[instaweb] | |
browser = open | |
[merge] | |
keepBackup = false | |
tool = diffmerge | |
defaultToUpstream = true |