-
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from fog/add_specs
Added specs for collections
- Loading branch information
Showing
74 changed files
with
387 additions
and
209 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
require 'minitest_helper' | ||
|
||
describe Fog::Compute::XenServer::Models::Blobs do | ||
let(:blobs_class) { Fog::Compute::XenServer::Models::Blobs } | ||
|
||
it 'should be a collection of Blobs' do | ||
blobs_class.model.must_equal(Fog::Compute::XenServer::Models::Blob) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
require 'minitest_helper' | ||
|
||
describe Fog::Compute::XenServer::Models::Bonds do | ||
let(:bonds_class) { Fog::Compute::XenServer::Models::Bonds } | ||
|
||
it 'should be a collection of Bonds' do | ||
bonds_class.model.must_equal(Fog::Compute::XenServer::Models::Bond) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
require 'minitest_helper' | ||
|
||
describe Fog::Compute::XenServer::Models::Consoles do | ||
let(:consoles_class) { Fog::Compute::XenServer::Models::Consoles } | ||
|
||
it 'should be a collection of Consoles' do | ||
consoles_class.model.must_equal(Fog::Compute::XenServer::Models::Console) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
require 'minitest_helper' | ||
|
||
describe Fog::Compute::XenServer::Models::CrashDumps do | ||
let(:crash_dumps_class) { Fog::Compute::XenServer::Models::CrashDumps } | ||
|
||
it 'should be a collection of CrashDumps' do | ||
crash_dumps_class.model.must_equal(Fog::Compute::XenServer::Models::CrashDump) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
require 'minitest_helper' | ||
|
||
describe Fog::Compute::XenServer::Models::DrTasks do | ||
let(:dr_tasks_class) { Fog::Compute::XenServer::Models::DrTasks } | ||
|
||
it 'should be a collection of DrTasks' do | ||
dr_tasks_class.model.must_equal(Fog::Compute::XenServer::Models::DrTask) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
require 'minitest_helper' | ||
|
||
describe Fog::Compute::XenServer::Models::GpuGroups do | ||
let(:gpu_groups_class) { Fog::Compute::XenServer::Models::GpuGroups } | ||
|
||
it 'should be a collection of GpuGroups' do | ||
gpu_groups_class.model.must_equal(Fog::Compute::XenServer::Models::GpuGroup) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
require 'minitest_helper' | ||
|
||
describe Fog::Compute::XenServer::Models::GuestsMetrics do | ||
let(:guests_metrics_class) { Fog::Compute::XenServer::Models::GuestsMetrics } | ||
|
||
it 'should be a collection of GuestsMetrics' do | ||
guests_metrics_class.model.must_equal(Fog::Compute::XenServer::Models::GuestMetrics) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
require 'minitest_helper' | ||
|
||
describe Fog::Compute::XenServer::Models::HostCpus do | ||
let(:host_cpus_class) { Fog::Compute::XenServer::Models::HostCpus } | ||
|
||
it 'should be a collection of HostsCpus' do | ||
host_cpus_class.model.must_equal(Fog::Compute::XenServer::Models::HostCpu) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
require 'minitest_helper' | ||
|
||
describe Fog::Compute::XenServer::Models::HostCrashDumps do | ||
let(:host_crash_dumps_class) { Fog::Compute::XenServer::Models::HostCrashDumps } | ||
|
||
it 'should be a collection of HostCrashDumps' do | ||
host_crash_dumps_class.model.must_equal(Fog::Compute::XenServer::Models::HostCrashDump) | ||
end | ||
end |
Oops, something went wrong.