Sha256: ae0fbf62a7a574a329c6ab9a3299371170a2e69761fe53f51fb6115f7f26924f

Contents?: true

Size: 412 Bytes

Versions: 3

Compression:

Stored size: 412 Bytes

Contents

require 'test_helper'

class UserUpdateTest < ActionDispatch::IntegrationTest
  
  fixtures :all
  
  test "update user" do
    get edit_user_path(users(:default))
    assert_response :success
    
    post users_path, { :name => users(:default).name, :email => users(:default).email, :fb_share => "0", :tw_share => "0", :tb_share => "true" }
    assert_response :redirect
    
    follow_redirect!
  end
  
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
serializer-0.0.9 test/dummy/test/integration/user_update_test.rb
serializer-0.0.8 test/dummy/test/integration/user_update_test.rb
serializer-0.0.6 test/dummy/test/integration/user_update_test.rb