cirandas.net

ref: master

plugins/oauth_client/test/unit/environment_test.rb


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
require 'test_helper'

class UserTest < ActiveSupport::TestCase

  should 'be able to add oauth providers in a environment' do
    env = fast_create(Environment)
    env.oauth_providers << OauthClientPlugin::Provider.new(:name => 'test', :strategy => 'test')
  end

end