Commit 02d8c0032377f0771153893cb41a604935ea73a5
1 parent
8e117f0e
Exists in
master
and in
4 other branches
Fix session spec because of password length
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
spec/requests/api/session_spec.rb
... | ... | @@ -8,7 +8,7 @@ describe API::API do |
8 | 8 | describe "POST /session" do |
9 | 9 | context "when valid password" do |
10 | 10 | it "should return private token" do |
11 | - post api("/session"), email: user.email, password: '123456' | |
11 | + post api("/session"), email: user.email, password: '12345678' | |
12 | 12 | response.status.should == 201 |
13 | 13 | |
14 | 14 | json_response['email'].should == user.email | ... | ... |