Skip to content

Commit

Permalink
remove content editable tags
Browse files Browse the repository at this point in the history
  • Loading branch information
JonRowe committed Feb 17, 2013
1 parent 132509f commit 28661ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/capybara/spec/session/node_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,13 @@
@session.first('//input').value.should == ''
end

it 'should allow me to change the contents of a contenteditable element', :requires => [:js], :contenteditable => true do
it 'should allow me to change the contents of a contenteditable element', :requires => [:js] do
@session.visit('/with_js')
@session.find(:css,'#existing_content_editable').set('WYSIWYG')
@session.find(:css,'#existing_content_editable').text.should == 'WYSIWYG'
end

it 'should allow me to set the contents of a contenteditable element', :requires => [:js], :contenteditable => true do
it 'should allow me to set the contents of a contenteditable element', :requires => [:js] do
@session.visit('/with_js')
@session.find(:css,'#blank_content_editable').set('WYSIWYG')
@session.find(:css,'#blank_content_editable').text.should == 'WYSIWYG'
Expand Down

0 comments on commit 28661ba

Please sign in to comment.