Created
February 24, 2014 22:30
-
-
Save huttneab/9198650 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'test_helper' | |
class Api::V1::RegistrationControllerTest < ActionController::TestCase | |
# test "the truth" do | |
# assert true | |
# end | |
include Devise::TestHelpers | |
test "should create user" do | |
@attr = {:email => "[email protected]", :password => "a1234567", :password_confirmation => "a1234567", :user_name => "huttneab"} | |
@request.env["devise.mapping"] = Devise.mappings[:user] | |
# post :create, :user => @attr | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment