Sha256: 59903f2a63aff5b71b8acb448bc274536040eaad249db8a361a61c82c89b1b47
Contents?: true
Size: 696 Bytes
Versions: 5
Compression:
Stored size: 696 Bytes
Contents
require 'spec_helper' describe OmniAuth::Strategies::Appnet do subject do OmniAuth::Strategies::Appnet.new({}) end context "general" do it "should be called appnet" do subject.options.name.should eq('appnet') end end context "endpoints" do it "has correct site" do subject.options.client_options.site.should eq("https://alpha-api.app.net") end it "has correct authorize_url" do subject.options.client_options.authorize_url.should eq("https://alpha.app.net/oauth/authenticate") end it "has correct token_url" do subject.options.client_options.token_url.should eq("https://alpha.app.net/oauth/access_token") end end end
Version data entries
5 entries across 5 versions & 1 rubygems