fedux_org-stdlib 0.0.36 → 0.0.37
Sign up to get free protection for your applications and to get access to all the features.
data/spec/project/plan_spec.rb
CHANGED
@@ -2,4 +2,12 @@ require 'spec_helper'
|
|
2
2
|
require 'fedux_org/stdlib/project/plan'
|
3
3
|
|
4
4
|
describe FeduxOrg::Stdlib::Project::Plan do
|
5
|
+
context '#file' do
|
6
|
+
it 'uses the working directory by default to find plan' do
|
7
|
+
switch_to_working_directory do
|
8
|
+
plan = FeduxOrg::Stdlib::Project::Plan.new
|
9
|
+
expect( plan.file ).to eq( File.join( Dir.getwd , 'plan.tjp' ) )
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
5
13
|
end
|