Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add element disabled? #948

Merged
merged 5 commits into from
Feb 15, 2013
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Removed spec to cover empty disabled attributes due to nokogiri jruby.
  • Loading branch information
benlovell committed Jan 29, 2013
commit be23d969a1c527e31cb55fc0054927a96e9e4d44
1 change: 0 additions & 1 deletion lib/capybara/spec/session/node_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@
it "should extract disabled node" do
@session.visit('/form')
@session.find('//input[@id="customer_name"]').should be_disabled
@session.find('//input[@id="customer_age"]').should be_disabled
@session.find('//input[@id="customer_email"]').should_not be_disabled
end
end
Expand Down
6 changes: 0 additions & 6 deletions lib/capybara/spec/views/form.erb
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,6 @@
</label>
</p>

<p>
<label for="customer_age">Customer Age
<input type="text" name="form[customer_age]" value="33" id="customer_age" disabled=""/>
</label>
</p>

<p>
<label for="customer_email">Customer Email
<input type="text" name="form[customer_email]" value="ben@ben.com" id="customer_email"/>
Expand Down