Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Integration Testing Engines
Search
Ryan Bigg
April 26, 2012
Programming
500
6
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Integration Testing Engines
This was a talk that covers the ways that you can integration test engines.
Ryan Bigg
April 26, 2012
More Decks by Ryan Bigg
See All by Ryan Bigg
Hiring Juniors - RubyConf Indonesia 2019 Closing Keynote
radar
1
480
Web Directions - Code Leaders - Hiring Juniors
radar
0
720
The Future of Rails - Take 2
radar
0
170
The Future of Rails
radar
1
180
Exploding Rails
radar
9
1.9k
Hiring Juniors
radar
2
500
The Perfect Coding Test
radar
0
170
Your First Developer Job
radar
1
130
Hiring Juniors
radar
2
310
Other Decks in Programming
See All in Programming
R8 の設定見直しでアプリサイズ削減
andpad
0
210
UnityでSystem.Net.WebSocketsなWebSocketサーバが動かないのでUnity Monoのコードを覗いてみた / about implementing websocket server with unity mono
drumath2237
1
590
AI主導のプログラミング学習アプリを作ってみた
econanringo
0
170
Agentic Software Factoryに、すごく賢いIF文を。 / super smart IF statement into the Agentic Software Factory.
rkaga
8
2.2k
パズルゲームの作り方 / how to make puzzle games
kaityo256
PRO
2
290
Everything will be SERVERLESS — 信じて運用した10年の経験値 / Everything Will be Serverless — Lessons Learned from 10 Years of Operational Experience
seike460
PRO
1
1k
UPDATE をやめる — EF Core でマスタをバージョン管理する
panda728
PRO
0
1.2k
TechTown - Creating Composable Callables in Contemporary C++
rollbear
0
110
re:Inventに行く前に知っておきたい現地参加のノウハウ
nokomoro3
0
410
Workers Cache を知る
syumai
0
360
AI が書く Go コードの品質を劇的に向上させる Linter: “declscope”
mpyw
0
490
JAWS-UG 東京支部が始める、JAWS-UG支部コラボ / JAWS-UG lunchtime LT Collaboration
y0hgi
0
260
Featured
See All Featured
Docker and Python
trallard
47
4.2k
Exploring anti-patterns in Rails
aemeredith
4
540
Ethics towards AI in product and experience design
skipperchong
2
430
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
450
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.7k
The Cult of Friendly URLs
andyhume
79
7k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
590
Balancing Empowerment & Direction
lara
6
1.3k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
ラッコキーワード サービス紹介資料
rakko
1
5.3M
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
203
77k
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