Sha256: 3e4371fef49d333d7aa75c4e101cb38aac5a689550346b6e0ff022569e701da8

Contents?: true

Size: 381 Bytes

Versions: 10

Compression:

Stored size: 381 Bytes

Contents

require 'spec_helper'
require 'fedux_org/stdlib/project/plan'

describe FeduxOrg::Stdlib::Project::Plan do
  context '#file' do
    it 'uses the working directory by default to find plan' do 
      switch_to_working_directory do
        plan = FeduxOrg::Stdlib::Project::Plan.new
        expect( plan.file ).to eq( File.join( Dir.getwd , 'plan.tjp' ) )
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
fedux_org-stdlib-0.3.2 spec/project/plan_spec.rb
fedux_org-stdlib-0.3.0 spec/project/plan_spec.rb
fedux_org-stdlib-0.2.1 spec/project/plan_spec.rb
fedux_org-stdlib-0.1.3 spec/project/plan_spec.rb
fedux_org-stdlib-0.1.2 spec/project/plan_spec.rb
fedux_org-stdlib-0.1.1 spec/project/plan_spec.rb
fedux_org-stdlib-0.1.0 spec/project/plan_spec.rb
fedux_org-stdlib-0.0.39 spec/project/plan_spec.rb
fedux_org-stdlib-0.0.38 spec/project/plan_spec.rb
fedux_org-stdlib-0.0.37 spec/project/plan_spec.rb