spec/lib/builder/source_spec.rb in vx-builder-0.0.16 vs spec/lib/builder/source_spec.rb in vx-builder-0.0.18

- old
+ new

@@ -9,10 +9,11 @@ its(:attributes) { should be } its(:rvm) { should eq %w{ 2.0.0 } } its(:gemfile) { should eq %w{ Gemfile } } its(:before_script) { should eq ["echo before_script"] } its(:script) { should eq ["RAILS_ENV=test ls -1 && echo DONE!"] } + its(:language) { should eq 'ruby' } context "merge" do let(:new_attrs) { { rvm: "replaced" } } subject{ config.merge new_attrs } @@ -56,10 +57,11 @@ "before_script" => ["echo before_script"], "after_success" => ["echo after success"], "cache" => { "directories"=>["~/.cache"] }, + "language" => "ruby", "before_install" => ["echo before_install"], "script" => ["RAILS_ENV=test ls -1 && echo DONE!"], "env" => { "matrix" => [], "global" => [] @@ -81,9 +83,10 @@ rvm: "2.0.0", image: %w{ one two }, gemfile: "Gemfile", before_script: "echo before_script", after_success: "echo after success", + language: "ruby", before_install: "echo before_install", script: "RAILS_ENV=test ls -1 && echo DONE!", cache: { "directories" => ["~/.cache"] }