Sha256: ad4ba7885e92b0ae7991c27d71733427ea59a1b3f895e1fb71c2ce88dd14ee3e

Contents?: true

Size: 658 Bytes

Versions: 53

Compression:

Stored size: 658 Bytes

Contents

require 'test_helper'

class Contour::RegistrationsControllerTest < ActionController::TestCase
  setup do
    login(users(:admin))
    request.env["devise.mapping"] = Devise.mappings[:user]
  end

  # test "an admin should be able to create new user" do
  #   assert_difference('User.count') do
  #     post :create, user: { first_name: 'First Name', last_name: 'Last Name', status: 'active', email: 'new_registration@example.com',
  #       steering_committee: true, steering_committee_secretary: false, pp_committee: false, pp_committee_secretary: false, system_admin: false }
  #   end
  #
  #   assert_redirected_to user_path(assigns(:user))
  # end
end

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
contour-1.1.2.pre test/functional/registrations_controller_test.rb
contour-1.1.1 test/functional/registrations_controller_test.rb
contour-1.1.0 test/functional/registrations_controller_test.rb
contour-1.1.0.rc3 test/functional/registrations_controller_test.rb
contour-1.0.6 test/functional/registrations_controller_test.rb
contour-1.1.0.rc2 test/functional/registrations_controller_test.rb
contour-1.1.0.rc test/functional/registrations_controller_test.rb
contour-1.0.5 test/functional/registrations_controller_test.rb
contour-1.1.0.pre2 test/functional/registrations_controller_test.rb
contour-1.1.0.pre test/functional/registrations_controller_test.rb
contour-1.0.4 test/functional/registrations_controller_test.rb
contour-1.0.3 test/functional/registrations_controller_test.rb
contour-1.0.2 test/functional/registrations_controller_test.rb
contour-1.0.1 test/functional/registrations_controller_test.rb
contour-1.0.0 test/functional/registrations_controller_test.rb
contour-1.0.0.rc2 test/functional/registrations_controller_test.rb
contour-1.0.0.rc test/functional/registrations_controller_test.rb
contour-1.0.0.beta12 test/functional/registrations_controller_test.rb
contour-1.0.0.beta11 test/functional/registrations_controller_test.rb
contour-1.0.0.beta10 test/functional/registrations_controller_test.rb