Commit 02d8c003 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix session spec because of password length

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 8e117f0e
......@@ -8,7 +8,7 @@ describe API::API do
describe "POST /session" do
context "when valid password" do
it "should return private token" do
post api("/session"), email: user.email, password: '123456'
post api("/session"), email: user.email, password: '12345678'
response.status.should == 201
json_response['email'].should == user.email
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment