<feed xmlns='http://www.w3.org/2005/Atom'>
<title>chouette-core/spec/support/referential.rb, branch 4726-breadcrumb</title>
<subtitle>Chouette manage transport static data</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/'/>
<entry>
<title>spec/support/referential.rb: Use factories</title>
<updated>2017-09-27T10:54:53+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2017-09-27T10:54:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=d1bd434d78972d4f4156f3e3e864e075cad9e62d'/>
<id>d1bd434d78972d4f4156f3e3e864e075cad9e62d</id>
<content type='text'>
Instead of creating the objects directly in ActiveRecord, use our
existing factories for these records as suggested by Robert.

Refs #3520
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of creating the objects directly in ActiveRecord, use our
existing factories for these records as suggested by Robert.

Refs #3520
</pre>
</div>
</content>
</entry>
<entry>
<title>spec/support/referential.rb: Remove `output` initialisation</title>
<updated>2017-09-25T15:36:38+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2017-09-25T15:36:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=e9a87b0fcc7c41174f50033f045c789f6a00f22f'/>
<id>e9a87b0fcc7c41174f50033f045c789f6a00f22f</id>
<content type='text'>
Since the `output` attribute is now initialised automatically in the
`Workbench#initialize_output` `before_validation` callback, the one I
added here before I created the callback can be removed. Instead we'll
rely on the callback to create a new `ReferentialSuite` for us.

Refs #3520
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since the `output` attribute is now initialised automatically in the
`Workbench#initialize_output` `before_validation` callback, the one I
added here before I created the callback can be removed. Instead we'll
rely on the callback to create a new `ReferentialSuite` for us.

Refs #3520
</pre>
</div>
</content>
</entry>
<entry>
<title>Workbench: Validate presence of `output`</title>
<updated>2017-09-25T14:56:10+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2017-09-25T14:17:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=72806a4961e4240cff955c66fff1840e40301b89'/>
<id>72806a4961e4240cff955c66fff1840e40301b89</id>
<content type='text'>
Ensure all workbenches always have an associated `ReferentialSuite` by
validating presence of the `output` attribute.

In order to pass the 'should have a valid factory' test, we need to
define a `ReferentialSuite` factory and set up a default association on
`output` in the `Workbench` factory.

We also need to add set `output` when creating a `Workbench` in
`spec/support/referential.rb`, otherwise we get a validation error that
breaks the tests. Clean up the formatting of that call. In order to pass
a `ReferentialSuite`, I just create one above, but I'm not sure if I
should be using a `find_or_create` mechanism like the other associated
objects do above.

Refs #3520
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ensure all workbenches always have an associated `ReferentialSuite` by
validating presence of the `output` attribute.

In order to pass the 'should have a valid factory' test, we need to
define a `ReferentialSuite` factory and set up a default association on
`output` in the `Workbench` factory.

We also need to add set `output` when creating a `Workbench` in
`spec/support/referential.rb`, otherwise we get a validation error that
breaks the tests. Clean up the formatting of that call. In order to pass
a `ReferentialSuite`, I just create one above, but I'm not sure if I
should be using a `find_or_create` mechanism like the other associated
objects do above.

Refs #3520
</pre>
</div>
</content>
</entry>
<entry>
<title>Change some specs to have all the wokbenches name to be 'Gestion de l'offre' like in application controller</title>
<updated>2017-09-12T12:07:22+00:00</updated>
<author>
<name>cedricnjanga</name>
</author>
<published>2017-09-12T12:07:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=8f2e5c5c6ea8ed9be2830ebac250841e8c9247a6'/>
<id>8f2e5c5c6ea8ed9be2830ebac250841e8c9247a6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Model ApiKey add belongs_to organisation</title>
<updated>2017-08-17T14:03:13+00:00</updated>
<author>
<name>Xinhui</name>
</author>
<published>2017-08-17T13:47:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=24862b2b1baa94c80fd7206bfe2244019604dbf5'/>
<id>24862b2b1baa94c80fd7206bfe2244019604dbf5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use code to define and find 'first' Organisation in specs. Refs #1782</title>
<updated>2016-11-19T18:59:24+00:00</updated>
<author>
<name>Alban Peignier</name>
</author>
<published>2016-11-19T18:42:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=bc1ec22d68233c74cbc93b2810f4e479a5e4b5ff'/>
<id>bc1ec22d68233c74cbc93b2810f4e479a5e4b5ff</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Relation Workbench - LineReferential &amp; StopAreaReferential</title>
<updated>2016-10-18T13:34:53+00:00</updated>
<author>
<name>Xinhui</name>
</author>
<published>2016-10-18T13:34:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=f9814e27bcaabbf69c66f43989236e40a334e0c1'/>
<id>f9814e27bcaabbf69c66f43989236e40a334e0c1</id>
<content type='text'>
Refs #1784
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Refs #1784
</pre>
</div>
</content>
</entry>
<entry>
<title>Associate LineReferential to Referential. Create ReferentialLines to manage lines in Referential. Refs #826</title>
<updated>2016-05-15T07:22:06+00:00</updated>
<author>
<name>Alban Peignier</name>
</author>
<published>2016-05-15T07:22:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=affbacfcd955230f66badb261dcc462cca9cd0b9'/>
<id>affbacfcd955230f66badb261dcc462cca9cd0b9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add route_sections for traces</title>
<updated>2015-12-16T09:02:29+00:00</updated>
<author>
<name>Bruno Perles</name>
</author>
<published>2015-12-16T09:02:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=013f4fa8fe9bb08f3ed1d15f905ca2a8437d6aa7'/>
<id>013f4fa8fe9bb08f3ed1d15f905ca2a8437d6aa7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Solving merge V2_5 pbs</title>
<updated>2015-03-09T13:40:32+00:00</updated>
<author>
<name>Zakaria BOUZIANE</name>
</author>
<published>2015-03-09T13:40:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=05fb2b7aa8ca7d490a8960a096de7d934fffe133'/>
<id>05fb2b7aa8ca7d490a8960a096de7d934fffe133</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
