testinator 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/lib/testinator.rb CHANGED
@@ -14,7 +14,9 @@ class Testinator < Thor
14
14
  copy_file 'Gemfile'
15
15
  empty_directory 'spec'
16
16
  template 'default_spec.rb.erb', 'spec/default_spec.rb'
17
-
17
+ inside(self.destination_root) do
18
+ run('bundle install')
19
+ end
18
20
  end
19
21
 
20
22
  def self.source_root
@@ -6,7 +6,7 @@ describe '<%= @app.name %>::default' do
6
6
 
7
7
  before do
8
8
  Fauxhai.mock(platform: 'ubuntu', version: '12.04')
9
- Chef::Recipe.any_instance.stub(:search).with(:users, 'groups:sysadmin').and_return({name: 'tim', ssh-key:"asd"})
9
+ Chef::Recipe.any_instance.stub(:search).with(:users, 'groups:sysadmin').and_return({name: 'tim', ssh_key:"asd"})
10
10
  end
11
11
 
12
12
  let(:chef_run){
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: testinator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: