Skip to content

Commit

Permalink
stub in test framework
Browse files Browse the repository at this point in the history
  • Loading branch information
danmiley committed Oct 26, 2011
1 parent 061a905 commit eb4ccab
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 1 deletion.
6 changes: 6 additions & 0 deletions Rakefile
@@ -1,2 +1,8 @@
require 'bundler/gem_tasks'

require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
test.libs << 'lib' << 'test'
test.pattern = 'test/*/test_*.rb'
test.verbose = true
end
2 changes: 1 addition & 1 deletion lib/cap-elb.rb
Expand Up @@ -2,7 +2,7 @@
require 'right_aws'

unless Capistrano::Configuration.respond_to?(:instance)
abort "capistrano/elb requires Capistrano 2"
abort "cap-elb requires Capistrano 2"
end

module Capistrano
Expand Down
Empty file removed spec/elb_test.rb
Empty file.
File renamed without changes.
15 changes: 15 additions & 0 deletions test/elb_test.rb
@@ -0,0 +1,15 @@
require 'rspec'
require 'capistrano'
require 'cap-elb'

describe Cap, "baseline" do
it "returns a good error if no load balancer found" do
true.should == true
end
it "returns a good error if no load balancer found" do
true.should == true
end
it "returns a good error if no load balancer found" do
true.should == true
end
end
15 changes: 15 additions & 0 deletions test/health/test_elb.rb
@@ -0,0 +1,15 @@
require 'rspec'
require 'capistrano'
require 'cap-elb'

describe Cap, "baseline" do
it "returns a good error if no load balancer found" do
true.should == true
end
it "returns a good error if no load balancer found" do
true.should == true
end
it "returns a good error if no load balancer found" do
true.should == true
end
end

0 comments on commit eb4ccab

Please sign in to comment.