Permalink
Browse files

Test respond_to? instead of respond_to_missing?

  • Loading branch information...
1 parent 9b692ad commit 0a64502ee11eec4b44cda0fc8abd343d298c05cc @postmodern postmodern committed Apr 8, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/sql/fields_spec.rb
View
@@ -6,7 +6,7 @@
describe "#respond_to_missing?" do
it "should return true" do
- subject.respond_to_missing?(double(:method)).should be(true)
+ subject.respond_to?(double(:method)).should be(true)
end
end

0 comments on commit 0a64502

Please sign in to comment.