Permalink
Browse files

Add module wrappers around specs

  • Loading branch information...
1 parent d02583d commit 0e10139eccb5bd1baaada31958ef0b297b168e59 Ken Mayer committed Mar 23, 2013
@@ -1,6 +1,7 @@
require 'spec_helper'
# https://github.com/fastestforward/heroku_san/issues/105
+module HerokuSan
describe HerokuSan::API do
subject(:api) { HerokuSan::API.new(:api_key => 'key', :mock => true)}
it "is a proxy to the Heroku::API" do
@@ -23,3 +24,4 @@
}
end
end
+end
@@ -1,5 +1,6 @@
require 'spec_helper'
+module HerokuSan
describe HerokuSan::Configuration do
let(:configurable) { Configurable.new }
let(:configuration) { HerokuSan::Configuration.new(configurable) }
@@ -38,4 +39,5 @@
end
end
end
-end
+end
+end
@@ -1,5 +1,6 @@
require 'spec_helper'
+module HerokuSan
describe HerokuSan::Parser do
let(:parser) { subject }
@@ -86,3 +87,4 @@
end
end
end
+end
@@ -1,6 +1,7 @@
require 'spec_helper'
require 'tmpdir'
+module HerokuSan
describe HerokuSan::Project do
let(:heroku_san) { HerokuSan::Project.new }
subject { heroku_san }
@@ -82,3 +83,4 @@
end
end
end
+end
@@ -1,5 +1,6 @@
require 'spec_helper'
+module HerokuSan
describe HerokuSan::Stage do
include HerokuSan::Git
subject { HerokuSan::Stage.new('production', {"deploy" => HerokuSan::Deploy::Rails, "app" => "awesomeapp", "stack" => "cedar"})}
@@ -282,3 +283,4 @@ def deploy; end
end
end
end
+end

0 comments on commit 0e10139

Please sign in to comment.