Skip to content

Commit

Permalink
Fix .json extensions in URLs in spec tests
Browse files Browse the repository at this point in the history
  • Loading branch information
David authored and thde committed Dec 2, 2024
1 parent 72274e8 commit 8d0dbae
Show file tree
Hide file tree
Showing 47 changed files with 47 additions and 47 deletions.
2 changes: 1 addition & 1 deletion spec/netbox_client_ruby/api/circuits/circuit_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
RSpec.describe NetboxClientRuby::Circuits::Circuit, faraday_stub: true do
let(:id) { 1 }
let(:base_url) { '/api/circuits/circuits/' }
let(:request_url) { "#{base_url}#{id}.json" }
let(:request_url) { "#{base_url}#{id}/" }
let(:response) { File.read("spec/fixtures/circuits/circuit_#{id}.json") }

subject { described_class.new id }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
RSpec.describe NetboxClientRuby::Circuits::CircuitTermination, faraday_stub: true do
let(:id) { 1 }
let(:base_url) { '/api/circuits/circuit-terminations/' }
let(:request_url) { "#{base_url}#{id}.json" }
let(:request_url) { "#{base_url}#{id}/" }
let(:response) { File.read("spec/fixtures/circuits/circuit-termination_#{id}.json") }

subject { described_class.new id }
Expand Down
2 changes: 1 addition & 1 deletion spec/netbox_client_ruby/api/circuits/circuit_type_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
RSpec.describe NetboxClientRuby::Circuits::CircuitType, faraday_stub: true do
let(:id) { 1 }
let(:base_url) { '/api/circuits/circuit-types/' }
let(:request_url) { "#{base_url}#{id}.json" }
let(:request_url) { "#{base_url}#{id}/" }
let(:response) { File.read("spec/fixtures/circuits/circuit-type_#{id}.json") }

subject { described_class.new id }
Expand Down
2 changes: 1 addition & 1 deletion spec/netbox_client_ruby/api/circuits/provider_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
RSpec.describe NetboxClientRuby::Circuits::Provider, faraday_stub: true do
let(:id) { 1 }
let(:base_url) { '/api/circuits/providers/' }
let(:request_url) { "#{base_url}#{id}.json" }
let(:request_url) { "#{base_url}#{id}/" }
let(:response) { File.read("spec/fixtures/circuits/provider_#{id}.json") }

subject { described_class.new id }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
let(:base_url) { '/api/dcim/console-connections/' }
let(:response) { File.read("spec/fixtures/dcim/console-connection_#{entity_id}.json") }

let(:request_url) { "#{base_url}#{entity_id}.json" }
let(:request_url) { "#{base_url}#{entity_id}/" }

subject { described_class.new entity_id }

Expand Down
2 changes: 1 addition & 1 deletion spec/netbox_client_ruby/api/dcim/console_port_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
let(:base_url) { '/api/dcim/console-ports/' }
let(:response) { File.read("spec/fixtures/dcim/console-port_#{entity_id}.json") }

let(:request_url) { "#{base_url}#{entity_id}.json" }
let(:request_url) { "#{base_url}#{entity_id}/" }

subject { described_class.new entity_id }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
let(:base_url) { '/api/dcim/console-server-ports/' }
let(:response) { File.read("spec/fixtures/dcim/console-server-port_#{entity_id}.json") }

let(:request_url) { "#{base_url}#{entity_id}.json" }
let(:request_url) { "#{base_url}#{entity_id}/" }

subject { described_class.new entity_id }

Expand Down
2 changes: 1 addition & 1 deletion spec/netbox_client_ruby/api/dcim/device_role_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
let(:sut) { NetboxClientRuby::DCIM::DeviceRole }
let(:base_url) { '/api/dcim/device-roles/' }

let(:request_url) { "#{base_url}#{entity_id}.json" }
let(:request_url) { "#{base_url}#{entity_id}/" }
let(:response) { File.read("spec/fixtures/dcim/device-role_#{entity_id}.json") }

subject { sut.new entity_id }
Expand Down
2 changes: 1 addition & 1 deletion spec/netbox_client_ruby/api/dcim/device_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
let(:base_url) { '/api/dcim/devices/' }
let(:response) { File.read("spec/fixtures/dcim/device_#{entity_id}.json") }

let(:request_url) { "#{base_url}#{entity_id}.json" }
let(:request_url) { "#{base_url}#{entity_id}/" }

subject { sut.new entity_id }

Expand Down
2 changes: 1 addition & 1 deletion spec/netbox_client_ruby/api/dcim/device_type_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
let(:sut) { NetboxClientRuby::DCIM::DeviceType }
let(:base_url) { '/api/dcim/device-types/' }

let(:request_url) { "#{base_url}#{entity_id}.json" }
let(:request_url) { "#{base_url}#{entity_id}/" }
let(:response) { File.read("spec/fixtures/dcim/device-type_#{entity_id}.json") }

subject { sut.new entity_id }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
let(:base_url) { '/api/dcim/interface-connections/' }
let(:response) { File.read("spec/fixtures/dcim/interface-connection_#{entity_id}.json") }

let(:request_url) { "#{base_url}#{entity_id}.json" }
let(:request_url) { "#{base_url}#{entity_id}/" }

subject { described_class.new entity_id }

Expand Down
2 changes: 1 addition & 1 deletion spec/netbox_client_ruby/api/dcim/interface_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
let(:sut) { NetboxClientRuby::DCIM::Interface }
let(:base_url) { '/api/dcim/interfaces/' }

let(:request_url) { "#{base_url}#{entity_id}.json" }
let(:request_url) { "#{base_url}#{entity_id}/" }
let(:response) { File.read("spec/fixtures/dcim/interface_#{entity_id}.json") }

subject { sut.new entity_id }
Expand Down
2 changes: 1 addition & 1 deletion spec/netbox_client_ruby/api/dcim/inventory_item_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
let(:sut) { NetboxClientRuby::DCIM::InventoryItem }
let(:base_url) { '/api/dcim/inventory-items/' }

let(:request_url) { "#{base_url}#{entity_id}.json" }
let(:request_url) { "#{base_url}#{entity_id}/" }
let(:response) { File.read("spec/fixtures/dcim/inventory-item_#{entity_id}.json") }

subject { sut.new entity_id }
Expand Down
2 changes: 1 addition & 1 deletion spec/netbox_client_ruby/api/dcim/manufacturer_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
let(:expected_name) { 'manu1' }
let(:sut) { NetboxClientRuby::DCIM::Manufacturer }
let(:base_url) { '/api/dcim/manufacturers/' }
let(:request_url) { "#{base_url}#{entity_id}.json" }
let(:request_url) { "#{base_url}#{entity_id}/" }
let(:response) { File.read("spec/fixtures/dcim/manufacturer_#{entity_id}.json") }

subject { sut.new entity_id }
Expand Down
2 changes: 1 addition & 1 deletion spec/netbox_client_ruby/api/dcim/platform_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
let(:sut) { NetboxClientRuby::DCIM::Platform }
let(:base_url) { '/api/dcim/platforms/' }

let(:request_url) { "#{base_url}#{entity_id}.json" }
let(:request_url) { "#{base_url}#{entity_id}/" }
let(:response) { File.read("spec/fixtures/dcim/platform_#{entity_id}.json") }

subject { sut.new entity_id }
Expand Down
2 changes: 1 addition & 1 deletion spec/netbox_client_ruby/api/dcim/power_connection_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
let(:base_url) { '/api/dcim/power-connections/' }
let(:response) { File.read("spec/fixtures/dcim/power-connection_#{entity_id}.json") }

let(:request_url) { "#{base_url}#{entity_id}.json" }
let(:request_url) { "#{base_url}#{entity_id}/" }

subject { described_class.new entity_id }

Expand Down
2 changes: 1 addition & 1 deletion spec/netbox_client_ruby/api/dcim/power_outlet_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
let(:expected_name) { '3' }
let(:base_url) { '/api/dcim/power-outlets/' }

let(:request_url) { "#{base_url}#{entity_id}.json" }
let(:request_url) { "#{base_url}#{entity_id}/" }
let(:response) { File.read("spec/fixtures/dcim/power-outlets_#{entity_id}.json") }

subject { described_class.new entity_id }
Expand Down
2 changes: 1 addition & 1 deletion spec/netbox_client_ruby/api/dcim/power_port_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
let(:expected_name) { 'psu1' }
let(:base_url) { '/api/dcim/power-ports/' }

let(:request_url) { "#{base_url}#{entity_id}.json" }
let(:request_url) { "#{base_url}#{entity_id}/" }
let(:response) { File.read("spec/fixtures/dcim/power-ports_#{entity_id}.json") }

subject { described_class.new entity_id }
Expand Down
2 changes: 1 addition & 1 deletion spec/netbox_client_ruby/api/dcim/rack_group_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
let(:base_url) { '/api/dcim/rack-groups/' }
let(:response) { File.read("spec/fixtures/dcim/rack-group_#{entity_id}.json") }

let(:request_url) { "#{base_url}#{entity_id}.json" }
let(:request_url) { "#{base_url}#{entity_id}/" }

subject { described_class.new entity_id }

Expand Down
2 changes: 1 addition & 1 deletion spec/netbox_client_ruby/api/dcim/rack_reservation_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
let(:base_url) { '/api/dcim/rack-reservations/' }
let(:response) { File.read("spec/fixtures/dcim/rack-reservation_#{entity_id}.json") }

let(:request_url) { "#{base_url}#{entity_id}.json" }
let(:request_url) { "#{base_url}#{entity_id}/" }

subject { described_class.new entity_id }

Expand Down
2 changes: 1 addition & 1 deletion spec/netbox_client_ruby/api/dcim/rack_role_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
let(:base_url) { '/api/dcim/rack-roles/' }
let(:response) { File.read("spec/fixtures/dcim/rack-role_#{entity_id}.json") }

let(:request_url) { "#{base_url}#{entity_id}.json" }
let(:request_url) { "#{base_url}#{entity_id}/" }

subject { described_class.new entity_id }

Expand Down
2 changes: 1 addition & 1 deletion spec/netbox_client_ruby/api/dcim/rack_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
let(:base_url) { '/api/dcim/racks/' }
let(:response) { File.read("spec/fixtures/dcim/rack_#{entity_id}.json") }

let(:request_url) { "#{base_url}#{entity_id}.json" }
let(:request_url) { "#{base_url}#{entity_id}/" }

subject { sut.new entity_id }

Expand Down
2 changes: 1 addition & 1 deletion spec/netbox_client_ruby/api/dcim/region_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
RSpec.describe NetboxClientRuby::DCIM::Region, faraday_stub: true do
let(:region_id) { 1 }
let(:response) { File.read("spec/fixtures/dcim/region_#{region_id}.json") }
let(:request_url) { "/api/dcim/regions/#{region_id}.json" }
let(:request_url) { "/api/dcim/regions/#{region_id}/" }

subject { NetboxClientRuby::DCIM::Region.new region_id }

Expand Down
2 changes: 1 addition & 1 deletion spec/netbox_client_ruby/api/dcim/site_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
RSpec.describe NetboxClientRuby::DCIM::Site, faraday_stub: true do
let(:site_id) { 1 }
let(:response) { File.read("spec/fixtures/dcim/site_#{site_id}.json") }
let(:request_url) { "/api/dcim/sites/#{site_id}.json" }
let(:request_url) { "/api/dcim/sites/#{site_id}/" }

subject { NetboxClientRuby::DCIM::Site.new site_id }

Expand Down
2 changes: 1 addition & 1 deletion spec/netbox_client_ruby/api/dcim/virtual_chassis_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
let(:base_url) { '/api/dcim/virtual-chassis/' }
let(:response) { File.read("spec/fixtures/dcim/virtual-chassis_#{entity_id}.json") }

let(:request_url) { "#{base_url}#{entity_id}.json" }
let(:request_url) { "#{base_url}#{entity_id}/" }

subject { described_class.new entity_id }

Expand Down
2 changes: 1 addition & 1 deletion spec/netbox_client_ruby/api/extras/config_context_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
RSpec.describe NetboxClientRuby::Extras::ConfigContext, faraday_stub: true do
let(:entity_id) { 1 }
let(:base_url) { '/api/extras/config-contexts/' }
let(:request_url) { "#{base_url}#{entity_id}.json" }
let(:request_url) { "#{base_url}#{entity_id}/" }
let(:response) { File.read("spec/fixtures/extras/config_context_#{entity_id}.json") }

subject { NetboxClientRuby::Extras::ConfigContext.new entity_id }
Expand Down
2 changes: 1 addition & 1 deletion spec/netbox_client_ruby/api/extras/journal_entry_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
RSpec.describe NetboxClientRuby::Extras::JournalEntry, faraday_stub: true do
let(:entity_id) { 1 }
let(:base_url) { '/api/extras/journal-entries/' }
let(:request_url) { "#{base_url}#{entity_id}.json" }
let(:request_url) { "#{base_url}#{entity_id}/" }
let(:response) { File.read("spec/fixtures/extras/journal_entry_#{entity_id}.json") }

subject { NetboxClientRuby::Extras::JournalEntry.new entity_id }
Expand Down
2 changes: 1 addition & 1 deletion spec/netbox_client_ruby/api/extras/tag_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
RSpec.describe NetboxClientRuby::Extras::Tag, faraday_stub: true do
let(:entity_id) { 1 }
let(:base_url) { '/api/extras/tags/' }
let(:request_url) { "#{base_url}#{entity_id}.json" }
let(:request_url) { "#{base_url}#{entity_id}/" }
let(:response) { File.read("spec/fixtures/extras/tag_#{entity_id}.json") }

subject { NetboxClientRuby::Extras::Tag.new entity_id }
Expand Down
2 changes: 1 addition & 1 deletion spec/netbox_client_ruby/api/ipam/aggregate_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

let(:expected_prefix) { '10.0.0.0/8' }
let(:entity_id) { 1 }
let(:request_url) { "#{base_url}#{entity_id}.json" }
let(:request_url) { "#{base_url}#{entity_id}/" }

subject { class_under_test.new entity_id }

Expand Down
2 changes: 1 addition & 1 deletion spec/netbox_client_ruby/api/ipam/ip_address_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

let(:expected_address) { IPAddress.parse('10.0.0.1/8') }
let(:entity_id) { 1 }
let(:request_url) { "#{base_url}#{entity_id}.json" }
let(:request_url) { "#{base_url}#{entity_id}/" }

subject { class_under_test.new entity_id }

Expand Down
2 changes: 1 addition & 1 deletion spec/netbox_client_ruby/api/ipam/ip_range_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
let(:expected_start_address) { IPAddress.parse '10.2.0.10/16' }
let(:expected_end_address) { IPAddress.parse '10.2.0.20/16' }
let(:entity_id) { 3 }
let(:request_url) { "#{base_url}#{entity_id}.json" }
let(:request_url) { "#{base_url}#{entity_id}/" }

subject { class_under_test.new entity_id }

Expand Down
2 changes: 1 addition & 1 deletion spec/netbox_client_ruby/api/ipam/prefix_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

let(:expected_prefix) { IPAddress.parse '10.2.0.0/16' }
let(:entity_id) { 3 }
let(:request_url) { "#{base_url}#{entity_id}.json" }
let(:request_url) { "#{base_url}#{entity_id}/" }

subject { class_under_test.new entity_id }

Expand Down
2 changes: 1 addition & 1 deletion spec/netbox_client_ruby/api/ipam/rir_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
let(:response) { File.read("spec/fixtures/ipam/rir_#{entity_id}.json") }

let(:entity_id) { 1 }
let(:request_url) { "#{base_url}#{entity_id}.json" }
let(:request_url) { "#{base_url}#{entity_id}/" }

subject { class_under_test.new entity_id }

Expand Down
2 changes: 1 addition & 1 deletion spec/netbox_client_ruby/api/ipam/role_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
let(:response) { File.read("spec/fixtures/ipam/role_#{entity_id}.json") }

let(:entity_id) { 1 }
let(:request_url) { "#{base_url}#{entity_id}.json" }
let(:request_url) { "#{base_url}#{entity_id}/" }

subject { NetboxClientRuby::IPAM::Role.new entity_id }

Expand Down
2 changes: 1 addition & 1 deletion spec/netbox_client_ruby/api/ipam/service_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
let(:response) { File.read("spec/fixtures/ipam/service_#{entity_id}.json") }

let(:entity_id) { 1 }
let(:request_url) { "#{base_url}#{entity_id}.json" }
let(:request_url) { "#{base_url}#{entity_id}/" }

subject { NetboxClientRuby::IPAM::Service.new entity_id }

Expand Down
2 changes: 1 addition & 1 deletion spec/netbox_client_ruby/api/ipam/vlan_group_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
let(:response) { File.read("spec/fixtures/ipam/vlan-group_#{entity_id}.json") }

let(:entity_id) { 1 }
let(:request_url) { "#{base_url}#{entity_id}.json" }
let(:request_url) { "#{base_url}#{entity_id}/" }

subject { class_under_test.new entity_id }

Expand Down
2 changes: 1 addition & 1 deletion spec/netbox_client_ruby/api/ipam/vlan_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
let(:response) { File.read("spec/fixtures/ipam/vlan_#{entity_id}.json") }

let(:entity_id) { 1 }
let(:request_url) { "#{base_url}#{entity_id}.json" }
let(:request_url) { "#{base_url}#{entity_id}/" }

subject { class_under_test.new entity_id }

Expand Down
2 changes: 1 addition & 1 deletion spec/netbox_client_ruby/api/ipam/vrf_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
let(:response) { File.read("spec/fixtures/ipam/vrf_#{entity_id}.json") }

let(:entity_id) { 1 }
let(:request_url) { "#{base_url}#{entity_id}.json" }
let(:request_url) { "#{base_url}#{entity_id}/" }

subject { class_under_test.new entity_id }

Expand Down
2 changes: 1 addition & 1 deletion spec/netbox_client_ruby/api/secrets/secret_role_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
RSpec.describe NetboxClientRuby::Secrets::SecretRole, faraday_stub: true do
let(:secret_id) { 1 }
let(:base_url) { '/api/secrets/secret-roles/' }
let(:request_url) { "#{base_url}#{secret_id}.json" }
let(:request_url) { "#{base_url}#{secret_id}/" }
let(:response) { File.read("spec/fixtures/secrets/secret-role_#{secret_id}.json") }

subject { NetboxClientRuby::Secrets::SecretRole.new secret_id }
Expand Down
2 changes: 1 addition & 1 deletion spec/netbox_client_ruby/api/secrets/secret_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
RSpec.describe NetboxClientRuby::Secrets::Secret, faraday_stub: true do
let(:secret_id) { 1 }
let(:base_url) { '/api/secrets/secrets/' }
let(:request_url) { "#{base_url}#{secret_id}.json" }
let(:request_url) { "#{base_url}#{secret_id}/" }
let(:response) { File.read("spec/fixtures/secrets/secret_#{secret_id}.json") }

subject { NetboxClientRuby::Secrets::Secret.new secret_id }
Expand Down
2 changes: 1 addition & 1 deletion spec/netbox_client_ruby/api/tenancy/tenant_group_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
RSpec.describe NetboxClientRuby::Tenancy::TenantGroup, faraday_stub: true do
let(:region_id) { 1 }
let(:base_url) { '/api/tenancy/tenant-groups/' }
let(:request_url) { "#{base_url}#{region_id}.json" }
let(:request_url) { "#{base_url}#{region_id}/" }
let(:response) { File.read("spec/fixtures/tenancy/tenant-group_#{region_id}.json") }

subject { NetboxClientRuby::Tenancy::TenantGroup.new region_id }
Expand Down
2 changes: 1 addition & 1 deletion spec/netbox_client_ruby/api/tenancy/tenant_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
RSpec.describe NetboxClientRuby::Tenancy::Tenant, faraday_stub: true do
let(:region_id) { 1 }
let(:base_url) { '/api/tenancy/tenants/' }
let(:request_url) { "#{base_url}#{region_id}.json" }
let(:request_url) { "#{base_url}#{region_id}/" }
let(:response) { File.read("spec/fixtures/tenancy/tenant_#{region_id}.json") }

subject { NetboxClientRuby::Tenancy::Tenant.new region_id }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
let(:base_url) { '/api/virtualization/cluster-groups/' }
let(:response) { File.read("spec/fixtures/virtualization/cluster-group_#{entity_id}.json") }

let(:request_url) { "#{base_url}#{entity_id}.json" }
let(:request_url) { "#{base_url}#{entity_id}/" }

subject { described_class.new entity_id }

Expand Down
2 changes: 1 addition & 1 deletion spec/netbox_client_ruby/api/virtualization/cluster_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
let(:base_url) { '/api/virtualization/clusters/' }
let(:response) { File.read("spec/fixtures/virtualization/cluster_#{entity_id}.json") }

let(:request_url) { "#{base_url}#{entity_id}.json" }
let(:request_url) { "#{base_url}#{entity_id}/" }

subject { described_class.new entity_id }

Expand Down
Loading

0 comments on commit 8d0dbae

Please sign in to comment.