Sha256: d40359393bd056b62f7680724093df77c42a8c252ed0cd0a3fc5ad0bfbc3b622

Contents?: true

Size: 367 Bytes

Versions: 3

Compression:

Stored size: 367 Bytes

Contents

require 'rails_helper'

RSpec.describe 'autocomplete', type: :feature, js: true do

  describe 'render' do
    it 'generate default autocomplete' do
      visit '/dummy_autocompletes'
      expect(page).to have_css('input#default[type="text"]')
      expect(page).to have_css('input[type="hidden"][name="default"][value="value1"]', visible: false)
    end
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
redmine_extensions-0.1.16 spec/features/autocomplete_spec.rb
redmine_extensions-0.1.15 spec/features/autocomplete_spec.rb
redmine_extensions-0.1.14 spec/features/autocomplete_spec.rb