Fixes default exclusions test for 1.8 and 1.9

This commit is contained in:
Ryan G 2011-10-07 15:26:51 -03:00
parent 9b1901fa05
commit 85a46235ca
1 changed files with 1 additions and 2 deletions

View File

@ -43,10 +43,9 @@ describe Draper::Base do
context("selecting methods") do
it "echos the methods of the wrapped class except default exclusions" do
pending "Fine on 1.9 but fails on 1.8 due to differences in implementation of respond_to and method_missing. Help?"
source.methods.each do |method|
unless Draper::Base::DEFAULT_DENIED.include?(method)
subject.should respond_to(method)
subject.should respond_to(method.to_sym)
end
end
end