Sha256: 202d4f9f8e1befdfe83454b2c8005d26d02b9edd92a62e628ad0d389eacdcb8c

Contents?: true

Size: 467 Bytes

Versions: 6

Compression:

Stored size: 467 Bytes

Contents

require 'spec_helper'

describe Understudy::Stage do
  describe "#setup" do
    before(:each) do
      Understudy::Stage.setup
    end

    it "should create the default configuration directory" do
      File.exists?(Understudy::Stage::DEFAULT_DIRECTORY).should be_true
    end

    it "should a configuration file for the machine" do
      File.exists?(File.join(Understudy::Stage::DEFAULT_DIRECTORY, "#{`hostname`.chomp}.config")).should be_true
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
understudy-0.0.8 spec/lib/stage_spec.rb
understudy-0.0.7 spec/lib/stage_spec.rb
understudy-0.0.6 spec/lib/stage_spec.rb
understudy-0.0.5 spec/lib/stage_spec.rb
understudy-0.0.4 spec/lib/stage_spec.rb
understudy-0.0.3 spec/lib/stage_spec.rb