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:
parent
9b1901fa05
commit
85a46235ca
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue