Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Integration Testing Engines
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Ryan Bigg
April 26, 2012
Programming
6
480
Integration Testing Engines
This was a talk that covers the ways that you can integration test engines.
Ryan Bigg
April 26, 2012
Tweet
Share
More Decks by Ryan Bigg
See All by Ryan Bigg
Hiring Juniors - RubyConf Indonesia 2019 Closing Keynote
radar
1
440
Web Directions - Code Leaders - Hiring Juniors
radar
0
670
The Future of Rails - Take 2
radar
0
130
The Future of Rails
radar
1
140
Exploding Rails
radar
9
1.9k
Hiring Juniors
radar
2
460
The Perfect Coding Test
radar
0
130
Your First Developer Job
radar
1
110
Hiring Juniors
radar
2
280
Other Decks in Programming
See All in Programming
2026/02/04 AIキャラクター人格の実装論 口 調の模倣から、コンテキスト制御による 『思想』と『行動』の創発へ
sr2mg4
0
660
Go Conference mini in Sendai 2026 : Goに新機能を提案し実装されるまでのフロー徹底解説
yamatoya
0
480
Amazon Bedrockを活用したRAGの品質管理パイプライン構築
tosuri13
5
910
Go 1.26でのsliceのメモリアロケーション最適化 / Go 1.26 リリースパーティ #go126party
mazrean
1
320
AI巻き込み型コードレビューのススメ
nealle
2
2.5k
AIとペアプロして処理時間を97%削減した話 #pyconshizu
kashewnuts
1
180
Go1.26 go fixをプロダクトに適用して困ったこと
kurakura0916
0
320
API Platformを活用したPHPによる本格的なWeb API開発 / api-platform-book-intro
ttskch
1
110
浮動小数の比較について
kishikawakatsumi
0
360
24時間止められないシステムを守る-医療ITにおけるランサムウェア対策の実際
koukimiura
2
180
20260228_JAWS_Beginner_Kansai
takuyay0ne
5
410
Rails Girls Tokyo 18th GMO Pepabo Sponsor Talk
yutokyokutyo
0
190
Featured
See All Featured
The untapped power of vector embeddings
frankvandijk
2
1.6k
Context Engineering - Making Every Token Count
addyosmani
9
730
Writing Fast Ruby
sferik
630
62k
Balancing Empowerment & Direction
lara
5
920
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
59
50k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
180
Heart Work Chapter 1 - Part 1
lfama
PRO
5
35k
Why Our Code Smells
bkeepers
PRO
340
58k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
150
Building an army of robots
kneath
306
46k
Designing for Timeless Needs
cassininazir
0
150
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.3k
Transcript
Integration testing engines Thursday, 26 April 12
Disagree. Thursday, 26 April 12
Rails.application.routes.draw Thursday, 26 April 12
Rails.application.routes.draw bullshit. Thursday, 26 April 12
Nooooooo do not draw routes on the application!!! Fuck. I
want to jump on stage. #railsconf https://twitter.com/ryanbigg/status/194501115524554754 Thursday, 26 April 12
Your::Engine.routes.draw Thursday, 26 April 12
Your::Engine.routes.draw real talk. Thursday, 26 April 12
Strongly Disagree. Thursday, 26 April 12
mount Your::Engine, :at => “path” Thursday, 26 April 12
mount Your::Engine, :at => “/” Thursday, 26 April 12
OMG!!! MY ROUTES ARE BROKEN!!! Thursday, 26 April 12
No. They’re not “broken” Thursday, 26 April 12
They are elsewhere. Thursday, 26 April 12
module Your class Engine < Rails::Engine isolate_namespace end end Thursday,
26 April 12
Your::Engine.routes.draw do resources :people end Thursday, 26 April 12
Rails.application.routes.draw do resources :people end Thursday, 26 April 12
your_engine.people_path main_app.people_path Thursday, 26 April 12
describe Spree::ProductsController it “should get all products” do get :index
end end Thursday, 26 April 12
Thursday, 26 April 12
No route matches { :controller => “Spree::ProductsController”, :action => “index”
} Thursday, 26 April 12
Lies, damned lies. Thursday, 26 April 12
describe Spree::ProductsController it “should get all products” do get :index,
:use_route => :spree end end Thursday, 26 April 12
describe “products” do it “sees products” do visit products_path end
end Thursday, 26 April 12
Thursday, 26 April 12
undefined method `products_path’ Thursday, 26 April 12
Lies, damned lies. (again) Thursday, 26 April 12
module Spree::Core::UrlHelpers def spree Spree::Core::Engine.routes.url_helpers end end Thursday, 26 April
12
describe “products” do it “sees products” do visit spree.products_path end
end Thursday, 26 April 12
Thursday, 26 April 12
Rails 3 in Action manning.com/katz Chapter Thursday, 26 April 12