Skip to content

Commit

Permalink
Corrected second #enable! to #disable!
Browse files Browse the repository at this point in the history
  • Loading branch information
Stuk committed Dec 9, 2010
1 parent cce19f7 commit 92d0ce3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions element_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -427,8 +427,8 @@
end
end
# disable!
describe '#enable!' do
it 'enables a form element' do
describe '#disable!' do
it 'disables a form element' do
window.url = fixture('forms_with_input_elements.html')
disabled = window.find_by_id('new_user_email')
disabled.enabled?.should be_true
Expand Down

0 comments on commit 92d0ce3

Please sign in to comment.