Skip to content
This repository was archived by the owner on Feb 28, 2022. It is now read-only.

Making mechwarrior compatible with Mechanize 2.1#4

Open
mcrmfc wants to merge 1 commit intoclowder:masterfrom
mcrmfc:mechanize2_1
Open

Making mechwarrior compatible with Mechanize 2.1#4
mcrmfc wants to merge 1 commit intoclowder:masterfrom
mcrmfc:mechanize2_1

Conversation

@mcrmfc
Copy link

@mcrmfc mcrmfc commented Feb 3, 2012

Mechnanize 2.1 performs a sort on an array of form fields in order to ensure that forms are encoded in DOM order, in order for us not to break this we need to pass in a native node. If we don't do this then the sort breaks because all the Form element nodes are Nokogiri::XML::Elements except for ours which is a Capybara::Mechanize::Node.

…r us not to break this we need to pass in a native node
@mcrmfc
Copy link
Author

mcrmfc commented Feb 3, 2012

Note: all Capybara specs pass against both 2.0.1 mechanize and 2.1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant