I hereby claim:
- I am fidothe on github.
- I am fidothe (https://keybase.io/fidothe) on keybase.
- I have a public key whose fingerprint is FA58 96E6 EE8E 6FD8 483C 6AE9 2EDA FDD2 5AB8 38C2
To claim this, I am signing this object:
require 'api/application' | |
module Api | |
module Controllers | |
module Urls | |
class Add | |
include Api::Action | |
def call(params) | |
... |
require 'spec_helper' | |
require_relative '../../../../apps/api/application' | |
RSpec.describe "Api::Controllers::Stuff::Create" do | |
let(:action) { Api::Controllers::Stuff::Create.new } | |
before(:all) do | |
Api::Application.preload! | |
end |
require 'spec_helper' | |
RSpec.describe MyRepository, :db do | |
it "will be rolled back after completion" do | |
MyRepository.create(MyEntity.new) | |
expect(MyRepository.all.size).to eq(1) | |
end | |
it "will also be rolled back" do | |
MyRepository.create(MyEntity.new) |
require 'lotus/model' | |
require 'json' | |
module Lotus::Model::Mapping::Coercions | |
def self.JSON(arg) | |
return nil if arg.nil? | |
case arg | |
when String | |
JSON.parse(arg) | |
else |
\hi\ |
2.1.2 |
I hereby claim:
To claim this, I am signing this object:
require 'sinatra/base' | |
require 'rack/test' | |
class Silly | |
include Rack::Test::Methods | |
def app | |
Sinatra.new do | |
get '/', provides: :xml do | |
p env |
<html> | |
<head> | |
<title>tap eating</title> | |
</head> | |
<body> | |
<script src="http://d3js.org/d3.v3.min.js"></script> | |
<script> | |
var width = 960, | |
height = 500; | |
source "http://rubygems.org/" | |
gem 'vcr', '2.4.0' | |
gem 'cucumber', '1.2.4' | |
gem 'webmock', '1.11.0' |