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-2.0.0.beta.3 test/controllers/registrations_controller_test.rb
contour-2.0.0.beta.2 test/controllers/registrations_controller_test.rb
contour-2.0.0.beta.1 test/controllers/registrations_controller_test.rb
contour-1.3.0 test/functional/registrations_controller_test.rb
contour-1.3.0.pre test/functional/registrations_controller_test.rb
contour-1.2.1 test/functional/registrations_controller_test.rb
contour-1.2.0 test/functional/registrations_controller_test.rb
contour-1.2.0.pre8 test/functional/registrations_controller_test.rb
contour-1.2.0.pre7 test/functional/registrations_controller_test.rb
contour-1.2.0.pre6 test/functional/registrations_controller_test.rb
contour-1.2.0.pre5 test/functional/registrations_controller_test.rb
contour-1.2.0.pre4 test/functional/registrations_controller_test.rb
contour-1.2.0.pre3 test/functional/registrations_controller_test.rb
contour-1.2.0.pre2 test/functional/registrations_controller_test.rb
contour-1.1.3 test/functional/registrations_controller_test.rb
contour-1.2.0.pre test/functional/registrations_controller_test.rb
contour-1.1.3.pre2 test/functional/registrations_controller_test.rb
contour-1.1.3.pre test/functional/registrations_controller_test.rb
contour-1.1.2 test/functional/registrations_controller_test.rb
contour-1.1.2.pre2 test/functional/registrations_controller_test.rb