1
0
Fork 0
mirror of https://github.com/drapergem/draper synced 2023-03-27 23:21:17 -04:00

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

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