Sha256: efe5229108f1d743fd1ab6c6b2965bc28014ffec12cb5419569fbbc60602cd1c

Contents?: true

Size: 461 Bytes

Versions: 1

Compression:

Stored size: 461 Bytes

Contents

require 'spec_helper'

feature 'Test functionality' do
  it 'Change text', js: true do
    visit '/'
    test_text = 'This is a test message to ensure that the string is updated'
    fill_in :name, with: test_text
    expect(find('#span_text_tag')).to have_content test_text
  end

  it 'Change select', js: true do
    visit '/'
    select_by_value 'select_input', 'second_option'
    expect(find('#span_select_tag')).to have_content 'Second Option'
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
simple_bind-0.1.1 spec/features/test_input_spec.rb