spec/roadmap_spec.rb in dev_flow-0.0.13 vs spec/roadmap_spec.rb in dev_flow-0.1.0
- old
+ new
@@ -21,8 +21,15 @@
it "should assign dependencies well" do
roadmap.ln_tasks[70].dependencies.size.should eq(2)
roadmap.ln_tasks[70].dependencies[0].branch_name.should eq("release_api_design_0.1")
roadmap.ln_tasks[70].dependencies[1].branch_name.should eq("model_spec")
end
+
+ it "return a list of team members" do
+ %w[huangw xuyc liudx cuibg wangqh].each do |m|
+ roadmap.team_member_names.include?(m).should be_true
+ end
+ roadmap.team_member_names.include?('sunyr').should be_false
+ end
end
end
end