spec/lib/builder/source_spec.rb in vx-builder-0.0.15 vs spec/lib/builder/source_spec.rb in vx-builder-0.0.16
- old
+ new
@@ -52,10 +52,11 @@
let(:expected) { {
"rvm" => ["2.0.0"],
"gemfile" => ["Gemfile"],
"image" => %w{ one two },
"before_script" => ["echo before_script"],
+ "after_success" => ["echo after success"],
"cache" => {
"directories"=>["~/.cache"]
},
"before_install" => ["echo before_install"],
"script" => ["RAILS_ENV=test ls -1 && echo DONE!"],
@@ -79,9 +80,10 @@
let(:attrs) {{
rvm: "2.0.0",
image: %w{ one two },
gemfile: "Gemfile",
before_script: "echo before_script",
+ after_success: "echo after success",
before_install: "echo before_install",
script: "RAILS_ENV=test ls -1 && echo DONE!",
cache: {
"directories" => ["~/.cache"]
}