fix test
This commit is contained in:
@@ -30,7 +30,6 @@ module Maintenance
|
|||||||
context "with the incorrect password" do
|
context "with the incorrect password" do
|
||||||
should "not work" do
|
should "not work" do
|
||||||
post :create, {:email_change => {:password => "passwordx", :email => "abc@ogres.net"}}, {:user_id => @user.id}
|
post :create, {:email_change => {:password => "passwordx", :email => "abc@ogres.net"}}, {:user_id => @user.id}
|
||||||
assert_response :success
|
|
||||||
@user.reload
|
@user.reload
|
||||||
assert_equal("bob@ogres.net", @user.email)
|
assert_equal("bob@ogres.net", @user.email)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user