spec/identity_spec.rb in fog-proxmox-0.6.0 vs spec/identity_spec.rb in fog-proxmox-0.7.0

- old
+ new

@@ -18,15 +18,15 @@ # along with Fog::Proxmox. If not, see <http://www.gnu.org/licenses/>. require 'spec_helper' require_relative './proxmox_vcr' -describe Fog::Identity::Proxmox do +describe Fog::Proxmox::Identity do before :all do @proxmox_vcr = ProxmoxVCR.new( vcr_directory: 'spec/fixtures/proxmox/identity', - service_class: Fog::Identity::Proxmox + service_class: Fog::Proxmox::Identity ) @service = @proxmox_vcr.service @pve_url = @proxmox_vcr.url @username = @proxmox_vcr.username @password = @proxmox_vcr.password @@ -34,10 +34,10 @@ @csrftoken = @proxmox_vcr.csrftoken end it 'authenticates with username and password' do VCR.use_cassette('auth') do - identity = Fog::Identity::Proxmox.new( + identity = Fog::Proxmox::Identity.new( pve_username: @username, pve_password: @password, pve_url: @pve_url.to_s ) identity.wont_be_nil