Sha256: ca7bd9ea0ed97a23b0481c44466183e7953be6c7bdfaf62c6632ed998e709c8d

Contents?: true

Size: 561 Bytes

Versions: 6

Compression:

Stored size: 561 Bytes

Contents

Then /^I should see the CKEditor$/ do
  assert page.has_css?('script', :src=>"/bcms/ckeditor/ckeditor.js"), "Should include the ckeditor file"
  assert page.has_css?('script', :src=>"/bcms/ckeditor/editor.js"), "Should include the ckeditor file"
end

Then /^I should see a widget to select which editor to use$/ do
  # This just verifies that the text editor selection widget is present.
  assert page.has_selector?('#dhtml_selector')
  within('#dhtml_selector') do
    assert page.has_content?("Rich Text")
    assert page.has_content?("Simple Text")
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
browsercms-3.4.2 features/step_definitions/ckeditor_steps.rb
browsercms-3.4.2.rc1 features/step_definitions/ckeditor_steps.rb
browsercms-3.4.1 features/step_definitions/ckeditor_steps.rb
browsercms-3.4.0 features/step_definitions/ckeditor_steps.rb
browsercms-3.4.0.rc2 features/step_definitions/ckeditor_steps.rb
browsercms-3.4.0.rc1 features/step_definitions/ckeditor_steps.rb