Permalink
Browse files

stub in test framework

  • Loading branch information...
danmiley
danmiley committed Oct 26, 2011
1 parent 061a905 commit eb4ccabd302cfe57d7e30d58f21ddcce63a13f42
Showing with 37 additions and 1 deletion.
  1. +6 −0 Rakefile
  2. +1 −1 lib/cap-elb.rb
  3. 0 spec/elb_test.rb
  4. 0 {spec → test}/.gemtest
  5. +15 −0 test/elb_test.rb
  6. +15 −0 test/health/test_elb.rb
View
@@ -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
View
@@ -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
View
No changes.
File renamed without changes.
View
@@ -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
View
@@ -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.