mirror of
https://github.com/danbee/micropub.git
synced 2025-03-04 08:59:13 +00:00
Fix endpoint stub
This commit is contained in:
parent
ac14f01af2
commit
cf247ab8dc
@ -3,8 +3,7 @@ require "request_helper"
|
||||
describe "auth" do
|
||||
before(:each) do
|
||||
@auth_token = "123abc"
|
||||
endpoints = mock("Indieauth::Endpoints")
|
||||
endpoints.stubs(:token_endpoint)
|
||||
endpoints = { token_endpoint: "" }
|
||||
Indieauth::Endpoints.stubs(:new).returns endpoints
|
||||
Indieauth::Token.any_instance.stubs(:validate).returns(false)
|
||||
Indieauth::Token.any_instance.stubs(:validate).
|
||||
|
||||
Loading…
Reference in New Issue
Block a user