Sha256: eb10a236b6e0a0aa38e624f081c653d03d99beddd2e4700bbc1e762aff93d951
Contents?: true
Size: 579 Bytes
Versions: 3
Compression:
Stored size: 579 Bytes
Contents
require 'test_helper' class AdminPeopleTest < ActionDispatch::IntegrationTest setup do admin_login end test "should have name suffix field" do visit(edit_admin_kinney_person_path(kinney_people(:atkins))) assert_equal 'III', page.find_field('kinney_person_name_suffix').value end test "should be able to submit for with location" do visit(edit_admin_kinney_person_path(kinney_people(:atkins))) fill_in "Location", :with => 'Durham, NC' click_button 'Update Person' assert page.has_content?('Person was successfully updated.') end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
kinney-0.0.3 | test/integration/admin_people_test.rb |
kinney-0.0.2 | test/integration/admin_people_test.rb |
kinney-0.0.1 | test/integration/admin_people_test.rb |