spec/shelly/app_spec.rb in shelly-0.5.4 vs spec/shelly/app_spec.rb in shelly-0.5.5

- old
+ new

@@ -404,14 +404,14 @@ @app.ruby_version.should == 'jruby' end it "should return ruby_version from gemfile" do Bundler::Definition.stub_chain(:build, :ruby_version). - and_return(mock(:engine => 'ruby', :version => '1.9.3')) + and_return(mock(:engine => 'ruby', :version => '2.2.0')) @app.create - @app.ruby_version.should == "1.9.3" + @app.ruby_version.should == "2.2.0" end end end describe "#redeploy" do @@ -605,12 +605,12 @@ :puma= => nil, :databases= => nil, :create => nil) Shelly::Cloudfile.should_receive(:new).and_return(@cloudfile) end it "should create cloudfile with app attributes" do - @app.ruby_version = "1.9.3" + @app.ruby_version = "2.2.0" @cloudfile.should_receive(:code_name=).with("foo-staging") - @cloudfile.should_receive(:ruby_version=).with("1.9.3") + @cloudfile.should_receive(:ruby_version=).with("2.2.0") @cloudfile.should_receive(:environment=).with("production") @cloudfile.should_receive(:domains=).with(["example.com", "another.example.com"]) @cloudfile.should_receive(:size=).with("large") @cloudfile.should_receive(:thin=).with(4) @cloudfile.should_not_receive(:puma=)