mirror of
https://github.com/omniauth/omniauth.git
synced 2022-11-09 12:31:49 -05:00
Refactor oa-oauth/spec/helper to be oa-oauth/spec/spec_helper to be consistent.
This commit is contained in:
parent
1c8cae1183
commit
e6032b7c8a
49 changed files with 50 additions and 48 deletions
|
@ -1,4 +1,4 @@
|
|||
require 'helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe OmniAuth::Strategies::Dopplr do
|
||||
it_should_behave_like "an oauth strategy"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe OmniAuth::Strategies::Douban do
|
||||
it_should_behave_like 'an oauth strategy'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe OmniAuth::Strategies::Dropbox do
|
||||
it_should_behave_like "an oauth strategy"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe OmniAuth::Strategies::Evernote do
|
||||
it_should_behave_like "an oauth strategy"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe OmniAuth::Strategies::Flattr do
|
||||
it_should_behave_like 'an oauth strategy'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe OmniAuth::Strategies::Goodreads do
|
||||
it_should_behave_like 'an oauth strategy'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe OmniAuth::Strategies::GoogleHealthSandbox do
|
||||
it_should_behave_like 'an oauth strategy'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe OmniAuth::Strategies::GoogleHealth do
|
||||
it_should_behave_like 'an oauth strategy'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe OmniAuth::Strategies::Google do
|
||||
it_should_behave_like 'an oauth strategy'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe OmniAuth::Strategies::Hyves do
|
||||
it_should_behave_like "an oauth strategy"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe OmniAuth::Strategies::Identica do
|
||||
it_should_behave_like 'an oauth strategy'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe OmniAuth::Strategies::LinkedIn do
|
||||
it_should_behave_like "an oauth strategy"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe OmniAuth::Strategies::Meetup do
|
||||
it_should_behave_like 'an oauth strategy'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe OmniAuth::Strategies::Miso do
|
||||
it_should_behave_like 'an oauth strategy'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe OmniAuth::Strategies::Netflix do
|
||||
it_should_behave_like "an oauth strategy"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe "OmniAuth::Strategies::OAuth" do
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe OmniAuth::Strategies::Orkut do
|
||||
it_should_behave_like 'an oauth strategy'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe OmniAuth::Strategies::Plurk do
|
||||
it_should_behave_like 'an oauth strategy'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe OmniAuth::Strategies::Rdio do
|
||||
it_should_behave_like "an oauth strategy"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe OmniAuth::Strategies::SmugMug do
|
||||
it_should_behave_like 'an oauth strategy'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe OmniAuth::Strategies::SoundCloud do
|
||||
it_should_behave_like 'an oauth strategy'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe OmniAuth::Strategies::T163 do
|
||||
it_should_behave_like "an oauth strategy"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe OmniAuth::Strategies::TradeMe do
|
||||
it_should_behave_like 'an oauth strategy'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe OmniAuth::Strategies::TripIt do
|
||||
it_should_behave_like 'an oauth strategy'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe OmniAuth::Strategies::Tsina do
|
||||
it_should_behave_like "an oauth strategy"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe OmniAuth::Strategies::Tumblr do
|
||||
it_should_behave_like 'an oauth strategy'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe OmniAuth::Strategies::Twitter do
|
||||
it_should_behave_like 'an oauth strategy'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe OmniAuth::Strategies::TypePad do
|
||||
it_should_behave_like 'an oauth strategy'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe OmniAuth::Strategies::Vimeo do
|
||||
it_should_behave_like 'an oauth strategy'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe OmniAuth::Strategies::Yahoo do
|
||||
it_should_behave_like 'an oauth strategy'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe OmniAuth::Strategies::Yammer do
|
||||
it_should_behave_like 'an oauth strategy'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe OmniAuth::Strategies::YouTube do
|
||||
it_should_behave_like 'an oauth strategy'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe OmniAuth::Strategies::Bitly do
|
||||
it_should_behave_like "an oauth2 strategy"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe OmniAuth::Strategies::Cobot do
|
||||
it_should_behave_like "an oauth2 strategy"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe OmniAuth::Strategies::Dailymile do
|
||||
it_should_behave_like "an oauth2 strategy"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe OmniAuth::Strategies::Doit do
|
||||
it_should_behave_like "an oauth2 strategy"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe OmniAuth::Strategies::Facebook do
|
||||
it_should_behave_like "an oauth2 strategy"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe OmniAuth::Strategies::Foursquare do
|
||||
it_should_behave_like "an oauth2 strategy"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe OmniAuth::Strategies::GitHub do
|
||||
it_should_behave_like "an oauth2 strategy"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe OmniAuth::Strategies::Glitch do
|
||||
it_should_behave_like 'an oauth2 strategy'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe OmniAuth::Strategies::Gowalla do
|
||||
it_should_behave_like "an oauth2 strategy"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe OmniAuth::Strategies::Mailru do
|
||||
it_should_behave_like "an oauth2 strategy"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe OmniAuth::Strategies::Salesforce do
|
||||
it_should_behave_like 'an oauth2 strategy'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe OmniAuth::Strategies::TaoBao do
|
||||
it_should_behave_like "an oauth2 strategy"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe OmniAuth::Strategies::Teambox do
|
||||
it_should_behave_like "an oauth2 strategy"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe OmniAuth::Strategies::ThirtySevenSignals do
|
||||
it_should_behave_like 'an oauth2 strategy'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe OmniAuth::Strategies::Vkontakte do
|
||||
it_should_behave_like "an oauth2 strategy"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'helper'
|
||||
require 'spec_helper'
|
||||
|
||||
describe OmniAuth::Strategies::WePay do
|
||||
it_should_behave_like "an oauth2 strategy"
|
||||
|
|
|
@ -5,6 +5,7 @@ SimpleCov.start
|
|||
require 'rspec'
|
||||
require 'rack/test'
|
||||
require 'webmock/rspec'
|
||||
require 'vcr'
|
||||
require 'omniauth/core'
|
||||
require 'omniauth/test'
|
||||
require 'omniauth/oauth'
|
||||
|
@ -12,6 +13,7 @@ require File.expand_path('../support/shared_examples', __FILE__)
|
|||
|
||||
RSpec.configure do |config|
|
||||
config.include WebMock::API
|
||||
config.extend VCR::RSpec::Macros
|
||||
config.include Rack::Test::Methods
|
||||
config.extend OmniAuth::Test::StrategyMacros, :type => :strategy
|
||||
end
|
Loading…
Reference in a new issue