Sha256: 261f1ab351766c83d04a26899021c2f5509efc6357a6684014f64d1b17e3f590
Contents?: true
Size: 394 Bytes
Versions: 27
Compression:
Stored size: 394 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../../../spec_helper') module PhusionPassenger shared_examples_for "a Rails spawner" do it "sets RAILS_ENV" do after_start %q{ File.write("rails_env.txt", RAILS_ENV) } app = spawn_some_application("environment" => "staging") File.read("#{app.app_root}/rails_env.txt").should == "staging" end end end # module PhusionPassenger
Version data entries
27 entries across 27 versions & 4 rubygems