Skip to content

Commit

Permalink
Specs for existing Fog::Bin interface
Browse files Browse the repository at this point in the history
Prepartion for fog/fog-core#105
  • Loading branch information
tokengeek authored and shlomizadok committed Dec 14, 2014
1 parent fa9254b commit fcd8502
Show file tree
Hide file tree
Showing 48 changed files with 636 additions and 0 deletions.
1 change: 1 addition & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ task :travis => ['test', 'test:travis']

Rake::TestTask.new do |t|
t.pattern = File.join("spec", "**", "*_spec.rb")
t.libs << "spec"
end

namespace :test do
Expand Down
10 changes: 10 additions & 0 deletions spec/fog/bin/atmos_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
require "minitest/autorun"
require "fog"
require "fog/bin"
require "helpers/bin"

describe Atmos do
include Fog::BinSpec

let(:subject) { Atmos }
end
10 changes: 10 additions & 0 deletions spec/fog/bin/aws_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
require "minitest/autorun"
require "fog"
require "fog/bin"
require "helpers/bin"

describe AWS do
include Fog::BinSpec

let(:subject) { AWS }
end
10 changes: 10 additions & 0 deletions spec/fog/bin/baremetalcloud_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
require "minitest/autorun"
require "fog"
require "fog/bin"
require "helpers/bin"

describe BareMetalCloud do
include Fog::BinSpec

let(:subject) { BareMetalCloud }
end
10 changes: 10 additions & 0 deletions spec/fog/bin/bluebox_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
require "minitest/autorun"
require "fog"
require "fog/bin"
require "helpers/bin"

describe Bluebox do
include Fog::BinSpec

let(:subject) { Bluebox }
end
10 changes: 10 additions & 0 deletions spec/fog/bin/brightbox_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
require "minitest/autorun"
require "fog"
require "fog/bin"
require "helpers/bin"

describe Brightbox do
include Fog::BinSpec

let(:subject) { Brightbox }
end
10 changes: 10 additions & 0 deletions spec/fog/bin/clodo_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
require "minitest/autorun"
require "fog"
require "fog/bin"
require "helpers/bin"

describe Clodo do
include Fog::BinSpec

let(:subject) { Clodo }
end
10 changes: 10 additions & 0 deletions spec/fog/bin/cloudsigma_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
require "minitest/autorun"
require "fog"
require "fog/bin"
require "helpers/bin"

describe CloudSigma do
include Fog::BinSpec

let(:subject) { CloudSigma }
end
10 changes: 10 additions & 0 deletions spec/fog/bin/cloudstack_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
require "minitest/autorun"
require "fog"
require "fog/bin"
require "helpers/bin"

describe Cloudstack do
include Fog::BinSpec

let(:subject) { Cloudstack }
end
10 changes: 10 additions & 0 deletions spec/fog/bin/digitalocean_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
require "minitest/autorun"
require "fog"
require "fog/bin"
require "helpers/bin"

describe DigitalOcean do
include Fog::BinSpec

let(:subject) { DigitalOcean }
end
10 changes: 10 additions & 0 deletions spec/fog/bin/dnsimple_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
require "minitest/autorun"
require "fog"
require "fog/bin"
require "helpers/bin"

describe DNSimple do
include Fog::BinSpec

let(:subject) { DNSimple }
end
10 changes: 10 additions & 0 deletions spec/fog/bin/dnsmadeeasy_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
require "minitest/autorun"
require "fog"
require "fog/bin"
require "helpers/bin"

describe DNSMadeEasy do
include Fog::BinSpec

let(:subject) { DNSMadeEasy }
end
10 changes: 10 additions & 0 deletions spec/fog/bin/dreamhost_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
require "minitest/autorun"
require "fog"
require "fog/bin"
require "helpers/bin"

describe Dreamhost do
include Fog::BinSpec

let(:subject) { Dreamhost }
end
10 changes: 10 additions & 0 deletions spec/fog/bin/dynect_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
require "minitest/autorun"
require "fog"
require "fog/bin"
require "helpers/bin"

describe Dynect do
include Fog::BinSpec

let(:subject) { Dynect }
end
10 changes: 10 additions & 0 deletions spec/fog/bin/ecloud_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
require "minitest/autorun"
require "fog"
require "fog/bin"
require "helpers/bin"

describe Ecloud do
include Fog::BinSpec

let(:subject) { Ecloud }
end
10 changes: 10 additions & 0 deletions spec/fog/bin/fogdocker_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
require "minitest/autorun"
require "fog"
require "fog/bin"
require "helpers/bin"

describe Fogdocker do
include Fog::BinSpec

let(:subject) { Fogdocker }
end
10 changes: 10 additions & 0 deletions spec/fog/bin/glesys_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
require "minitest/autorun"
require "fog"
require "fog/bin"
require "helpers/bin"

describe Glesys do
include Fog::BinSpec

let(:subject) { Glesys }
end
10 changes: 10 additions & 0 deletions spec/fog/bin/gogrid_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
require "minitest/autorun"
require "fog"
require "fog/bin"
require "helpers/bin"

describe GoGrid do
include Fog::BinSpec

let(:subject) { GoGrid }
end
10 changes: 10 additions & 0 deletions spec/fog/bin/google_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
require "minitest/autorun"
require "fog"
require "fog/bin"
require "helpers/bin"

describe Google do
include Fog::BinSpec

let(:subject) { Google }
end
10 changes: 10 additions & 0 deletions spec/fog/bin/hp_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
require "minitest/autorun"
require "fog"
require "fog/bin"
require "helpers/bin"

describe HP do
include Fog::BinSpec

let(:subject) { HP }
end
10 changes: 10 additions & 0 deletions spec/fog/bin/ibm_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
require "minitest/autorun"
require "fog"
require "fog/bin"
require "helpers/bin"

describe IBM do
include Fog::BinSpec

let(:subject) { IBM }
end
10 changes: 10 additions & 0 deletions spec/fog/bin/internetarchive_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
require "minitest/autorun"
require "fog"
require "fog/bin"
require "helpers/bin"

describe InternetArchive do
include Fog::BinSpec

let(:subject) { InternetArchive }
end
10 changes: 10 additions & 0 deletions spec/fog/bin/joyent_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
require "minitest/autorun"
require "fog"
require "fog/bin"
require "helpers/bin"

describe Joyent do
include Fog::BinSpec

let(:subject) { Joyent }
end
10 changes: 10 additions & 0 deletions spec/fog/bin/libvirt_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
require "minitest/autorun"
require "fog"
require "fog/bin"
require "helpers/bin"

describe Libvirt do
include Fog::BinSpec

let(:subject) { Libvirt }
end
10 changes: 10 additions & 0 deletions spec/fog/bin/linode_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
require "minitest/autorun"
require "fog"
require "fog/bin"
require "helpers/bin"

describe Linode do
include Fog::BinSpec

let(:subject) { Linode }
end
10 changes: 10 additions & 0 deletions spec/fog/bin/local_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
require "minitest/autorun"
require "fog"
require "fog/bin"
require "helpers/bin"

describe Local do
include Fog::BinSpec

let(:subject) { Local }
end
10 changes: 10 additions & 0 deletions spec/fog/bin/ninefold_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
require "minitest/autorun"
require "fog"
require "fog/bin"
require "helpers/bin"

describe Ninefold do
include Fog::BinSpec

let(:subject) { Ninefold }
end
10 changes: 10 additions & 0 deletions spec/fog/bin/opennebula_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
require "minitest/autorun"
require "fog"
require "fog/bin"
require "helpers/bin"

describe OpenNebula do
include Fog::BinSpec

let(:subject) { OpenNebula }
end
10 changes: 10 additions & 0 deletions spec/fog/bin/openstack_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
require "minitest/autorun"
require "fog"
require "fog/bin"
require "helpers/bin"

describe OpenStack do
include Fog::BinSpec

let(:subject) { OpenStack }
end
10 changes: 10 additions & 0 deletions spec/fog/bin/openvz_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
require "minitest/autorun"
require "fog"
require "fog/bin"
require "helpers/bin"

describe Openvz do
include Fog::BinSpec

let(:subject) { Openvz }
end
10 changes: 10 additions & 0 deletions spec/fog/bin/ovirt_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
require "minitest/autorun"
require "fog"
require "fog/bin"
require "helpers/bin"

describe Ovirt do
include Fog::BinSpec

let(:subject) { Ovirt }
end
10 changes: 10 additions & 0 deletions spec/fog/bin/profitbricks_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
require "minitest/autorun"
require "fog"
require "fog/bin"
require "helpers/bin"

describe ProfitBricks do
include Fog::BinSpec

let(:subject) { ProfitBricks }
end
10 changes: 10 additions & 0 deletions spec/fog/bin/rackspace_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
require "minitest/autorun"
require "fog"
require "fog/bin"
require "helpers/bin"

describe Rackspace do
include Fog::BinSpec

let(:subject) { Rackspace }
end
10 changes: 10 additions & 0 deletions spec/fog/bin/rage4_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
require "minitest/autorun"
require "fog"
require "fog/bin"
require "helpers/bin"

describe Rage4 do
include Fog::BinSpec

let(:subject) { Rage4 }
end
10 changes: 10 additions & 0 deletions spec/fog/bin/riakcs_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
require "minitest/autorun"
require "fog"
require "fog/bin"
require "helpers/bin"

describe RiakCS do
include Fog::BinSpec

let(:subject) { RiakCS }
end
10 changes: 10 additions & 0 deletions spec/fog/bin/sakuracloud_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
require "minitest/autorun"
require "fog"
require "fog/bin"
require "helpers/bin"

describe SakuraCloud do
include Fog::BinSpec

let(:subject) { SakuraCloud }
end
Loading

0 comments on commit fcd8502

Please sign in to comment.