Sha256: e0319945f554dd23861d9cfed6877d605397ae15031a599bdbcf0399228f7d57

Contents?: true

Size: 1.24 KB

Versions: 16

Compression:

Stored size: 1.24 KB

Contents

Fabricator(:story) do 
  name "Factory Story"
  iteration {Fabricate(:iteration)}
  revision_history(:force => true){Fabricate.build(:revision_history_mocked_revisions)}
end

Fabricator(:story_with_revisions, :from => :story) do 
  name "Factory Story with revisions"
  revisions {[Fabricate.build(:revision, 
                              :created_on => 4.days.ago, 
                              :description => "TASK ESTIMATE TOTAL changed from [0.0] to [2.0]"),
              Fabricate.build(:revision, 
                              :created_on => 3.days.ago, 
                              :description => "PROJECT changed from [Photos.com] to [Madison]"),
              Fabricate.build(:revision, 
                              :created_on => 2.days.ago, 
                              :description => "ITERATION added"),
              Fabricate.build(:revision, 
                              :created_on => 1.days.ago, 
                              :description => "SCHEDULE STATE changed from [InProgress] to [Complete]")]}
end

#Fabricator(:story_unmocked_parser, :from => :story) do
#  name "Factory Story, Unmocked Parser"
#  iteration {Fabricate(:iteration_unmocked_parser)}
#  revision_history(:force => true){Fabricate.build(:revision_history)}
#end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
rallytastic-1.4.9 spec/fabricators/story.rb
rallytastic-1.4.8 spec/fabricators/story.rb
rallytastic-1.4.7 spec/fabricators/story.rb
rallytastic-1.4.6 spec/fabricators/story.rb
rallytastic-1.4.5 spec/fabricators/story.rb
rallytastic-1.4.4 spec/fabricators/story.rb
rallytastic-1.4.0 spec/fabricators/story.rb
rallytastic-1.3.0 spec/fabricators/story.rb
rallytastic-1.2.8 spec/fabricators/story.rb
rallytastic-1.2.7 spec/fabricators/story.rb
rallytastic-1.2.6 spec/fabricators/story.rb
rallytastic-1.2.5 spec/fabricators/story.rb
rallytastic-1.2.4 spec/fabricators/story.rb
rallytastic-1.2.3 spec/fabricators/story.rb
rallytastic-1.2.2 spec/fabricators/story.rb
rallytastic-1.2.1 spec/fabricators/story.rb