From d81d0005464c43ad91daada7162c661acb90fb13 Mon Sep 17 00:00:00 2001 From: Trae Robrock Date: Thu, 11 Jul 2013 20:48:11 -0700 Subject: [PATCH] Whitespace --- tests/digitalocean/models/compute/flavor_tests.rb | 4 ++-- tests/digitalocean/models/compute/image_tests.rb | 4 ++-- tests/digitalocean/models/compute/region_tests.rb | 4 ++-- tests/digitalocean/models/compute/ssh_key_tests.rb | 6 +++--- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/tests/digitalocean/models/compute/flavor_tests.rb b/tests/digitalocean/models/compute/flavor_tests.rb index f8993cda6..4c2927681 100644 --- a/tests/digitalocean/models/compute/flavor_tests.rb +++ b/tests/digitalocean/models/compute/flavor_tests.rb @@ -2,14 +2,14 @@ Shindo.tests("Fog::Compute[:digitalocean] | flavor model", ['digitalocean', 'com service = Fog::Compute[:digitalocean] flavor = service.flavors.first - + tests('The flavor model should') do tests('have the action') do test('reload') { flavor.respond_to? 'reload' } end tests('have attributes') do model_attribute_hash = flavor.attributes - attributes = [ + attributes = [ :id, :name, ] diff --git a/tests/digitalocean/models/compute/image_tests.rb b/tests/digitalocean/models/compute/image_tests.rb index c189d230d..8707cd9bd 100644 --- a/tests/digitalocean/models/compute/image_tests.rb +++ b/tests/digitalocean/models/compute/image_tests.rb @@ -2,14 +2,14 @@ Shindo.tests("Fog::Compute[:digitalocean] | image model", ['digitalocean', 'comp service = Fog::Compute[:digitalocean] image = service.images.first - + tests('The image model should') do tests('have the action') do test('reload') { image.respond_to? 'reload' } end tests('have attributes') do model_attribute_hash = image.attributes - attributes = [ + attributes = [ :id, :name, :distribution diff --git a/tests/digitalocean/models/compute/region_tests.rb b/tests/digitalocean/models/compute/region_tests.rb index 03345ac67..1a9dc0c37 100644 --- a/tests/digitalocean/models/compute/region_tests.rb +++ b/tests/digitalocean/models/compute/region_tests.rb @@ -2,14 +2,14 @@ Shindo.tests("Fog::Compute[:digitalocean] | region model", ['digitalocean', 'com service = Fog::Compute[:digitalocean] region = service.regions.first - + tests('The region model should') do tests('have the action') do test('reload') { region.respond_to? 'reload' } end tests('have attributes') do model_attribute_hash = region.attributes - attributes = [ + attributes = [ :id, :name, ] diff --git a/tests/digitalocean/models/compute/ssh_key_tests.rb b/tests/digitalocean/models/compute/ssh_key_tests.rb index 906f0a836..531774ad6 100644 --- a/tests/digitalocean/models/compute/ssh_key_tests.rb +++ b/tests/digitalocean/models/compute/ssh_key_tests.rb @@ -3,7 +3,7 @@ Shindo.tests("Fog::Compute[:digitalocean] | ssh_key model", ['digitalocean', 'co service = Fog::Compute[:digitalocean] tests('The ssh_key model should') do - + test('#save') do @key = service.ssh_keys.create :name => 'fookey', :ssh_pub_key => 'fookey' @@ -11,7 +11,7 @@ Shindo.tests("Fog::Compute[:digitalocean] | ssh_key model", ['digitalocean', 'co end tests('have the action') do test('reload') { @key.respond_to? 'reload' } - %w{ + %w{ save destroy }.each do |action| @@ -19,7 +19,7 @@ Shindo.tests("Fog::Compute[:digitalocean] | ssh_key model", ['digitalocean', 'co end end tests('have attributes') do - attributes = [ + attributes = [ :id, :name, :ssh_pub_key