Sha256: c7697ef1dbd23599b30a42d20744efc3bf322a690b6182bca4d3bbc0d67d4907
Contents?: true
Size: 416 Bytes
Versions: 18
Compression:
Stored size: 416 Bytes
Contents
require 'spec_helper' RSpec.feature "Optional text_field with normal record", type: :feature do scenario "Selecting all", js: true do employee = Employee.create name: 'E1', admin: true, vegan: false visit edit_employee_path(employee.id) find('#employee_section').set 'SEC' # this is an optional find('[name="commit"]').click employee.reload employee.section.should == 'SEC' end end
Version data entries
18 entries across 18 versions & 1 rubygems