diff options
Diffstat (limited to 'spec/factories/chouette_lines.rb')
| -rw-r--r-- | spec/factories/chouette_lines.rb | 5 | 
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/factories/chouette_lines.rb b/spec/factories/chouette_lines.rb index f6542bf82..95f760174 100644 --- a/spec/factories/chouette_lines.rb +++ b/spec/factories/chouette_lines.rb @@ -44,6 +44,11 @@ FactoryGirl.define do      end +    factory :line_with_after_commit do |line| +      line.run_callbacks(:commit) + +    end +    end  end  | 
