Skip to content

Commit

Permalink
Fix XML test class name
Browse files Browse the repository at this point in the history
  • Loading branch information
Temikus committed Jun 23, 2018
1 parent c053a0a commit ee550ff
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
14 changes: 6 additions & 8 deletions test/unit/compute/test_server.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
require "helpers/test_helper"
# require testing stuff

class UnitTestServer < MiniTest::Test

def setup
Fog.mock!
@client = Fog::Compute.new(:provider => "Google", :google_project => "foo")
Expand All @@ -17,14 +15,14 @@ def test_if_server_accepts_ssh_keys

File.stub :read, key do
server = Fog::Compute::Google::Server.new(
:name => "foo",
:machine_type => "bar",
:disks => ["baz"],
:zone => "foo",
:public_key_path => key
:name => "foo",
:machine_type => "bar",
:disks => ["baz"],
:zone => "foo",
:public_key_path => key
)
assert_equal(server.public_key, key,
"Fog::Compute::Google::Server loads public_key properly")
end
end
end
end
2 changes: 1 addition & 1 deletion test/unit/storage/test_xml_requests.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require "helpers/test_helper"

class UnitTestServer < MiniTest::Test
class UnitTestXMLRequests < MiniTest::Test
def setup
Fog.mock!
@client = Fog::Storage.new(provider: "google",
Expand Down

0 comments on commit ee550ff

Please sign in to comment.