aboutsummaryrefslogtreecommitdiffstats
path: root/spec/engines/sql/unit/engine_spec.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2010-07-27 15:26:12 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2010-07-27 15:26:12 -0700
commit1f25ba3786ff6aaa1e04e038a84acafa4138ee17 (patch)
tree5e75585570d7d8a5292ce45d06d6b76e241e7505 /spec/engines/sql/unit/engine_spec.rb
parent9b5ca7a78f53da1ba1a817041e1c78ae673887a0 (diff)
downloadrails-1f25ba3786ff6aaa1e04e038a84acafa4138ee17.tar.gz
rails-1f25ba3786ff6aaa1e04e038a84acafa4138ee17.tar.bz2
rails-1f25ba3786ff6aaa1e04e038a84acafa4138ee17.zip
PERF: eliminating method_missing
Diffstat (limited to 'spec/engines/sql/unit/engine_spec.rb')
-rw-r--r--spec/engines/sql/unit/engine_spec.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/spec/engines/sql/unit/engine_spec.rb b/spec/engines/sql/unit/engine_spec.rb
index 85a9dc5bfb..9d3c41ccc0 100644
--- a/spec/engines/sql/unit/engine_spec.rb
+++ b/spec/engines/sql/unit/engine_spec.rb
@@ -17,13 +17,6 @@ module Arel
end
describe "method missing" do
- it "should pass through" do
- conn = FakeConnection.new
- engine = Arel::Sql::Engine.new FakeAR.new conn
- engine.foo
- conn.called.should == [[:foo, [], nil]]
- end
-
it "should ask for a connection" do
conn = FakeConnection.new
ar = FakeAR.new conn