Sha256: 5771150f2a2142fb0170a8107ea5f3f7ae9b4c98f0806f3f51dcc7fbfece7e38
Contents?: true
Size: 555 Bytes
Versions: 2
Compression:
Stored size: 555 Bytes
Contents
require 'spec_helper' describe "With Client id and Client Srecret valids" do context "Token" do before do fake_token_without_authentication end it "should return one token valid" do logged_with_credentials.token.should be === "token-12345678910" end end context "Token with email and password valids" do before do fake_token_with_authentication user_logged end it "should return one token valid" do user_logged.token.should be === "token-authenticate-12345678910" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
apontador_oauth2-0.1.3 | spec/client_spec.rb |
apontador_oauth2-0.1.2 | spec/client_spec.rb |