Skip to content

Fix method_missing for "class" in ElementProxy#128

Merged
dtognazzini merged 1 commit intoappfolio:masterfrom
jacob-carlborg:class_element_proxy
Jun 9, 2015
Merged

Fix method_missing for "class" in ElementProxy#128
dtognazzini merged 1 commit intoappfolio:masterfrom
jacob-carlborg:class_element_proxy

Conversation

@jacob-carlborg
Copy link
Copy Markdown
Contributor

A fake expectation on 'implicit_element', that it should never be called, is made in the test. It seems it's not possible to use 'expects' on ElementProxy which has removed all (most) methods and implements 'method_missing'.

A fake expectation on 'implicit_element', that it should never be
called, is made in the test. It seems it's not possible to use
'expects' on ElementProxy which has removed all (most) methods and
implements 'method_missing'.
@jacob-carlborg
Copy link
Copy Markdown
Contributor Author

Updated with a test added.

@dtognazzini
Copy link
Copy Markdown
Contributor

Looks good. Thanks!

dtognazzini added a commit that referenced this pull request Jun 9, 2015
Fix method_missing for "class" in ElementProxy
@dtognazzini dtognazzini merged commit 8de4c24 into appfolio:master Jun 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants