-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Oliver Stigley <oliver@boost.co.nz>
- Loading branch information
Oliver Stigley
committed
Sep 14, 2018
1 parent
c8883c6
commit 49a458f
Showing
4 changed files
with
30 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
spec/lib/generators/supplejack_api/install_generator_spec.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
require 'spec_helper' | ||
require 'generator_spec' | ||
|
||
module SupplejackApi | ||
module Generators | ||
describe InstallGenerator, type: :generator do | ||
destination File.expand_path("../tmp/", __FILE__) | ||
|
||
before(:all) do | ||
prepare_destination | ||
run_generator | ||
end | ||
|
||
describe '#config files' do | ||
let(:generated_application_yml) { File.read(destination)} | ||
it 'adds details to application yml' do | ||
binding.pry | ||
expect(true).to be true | ||
end | ||
end | ||
end | ||
end | ||
end |