<feed xmlns='http://www.w3.org/2005/Atom'>
<title>chouette-core/app/controllers, branch check_policy_specs</title>
<subtitle>Chouette manage transport static data</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/'/>
<entry>
<title>Fix RoutingConstraintZone Policy</title>
<updated>2017-06-28T22:19:24+00:00</updated>
<author>
<name>Luc Donnet</name>
</author>
<published>2017-06-28T22:19:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=1adc021ba4d797152a6f31cfe17161ef20877fb7'/>
<id>1adc021ba4d797152a6f31cfe17161ef20877fb7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Hotfix fixes: #3793@1h</title>
<updated>2017-06-28T15:19:50+00:00</updated>
<author>
<name>Robert</name>
</author>
<published>2017-06-28T15:19:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=b260c832c8e129dbeacfe065d01bd0732dd80701'/>
<id>b260c832c8e129dbeacfe065d01bd0732dd80701</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>conflicts resolved</title>
<updated>2017-06-27T12:25:35+00:00</updated>
<author>
<name>Robert</name>
</author>
<published>2017-06-27T12:25:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=f20df3c08dfec0e3dda68401204f7d49470119a7'/>
<id>f20df3c08dfec0e3dda68401204f7d49470119a7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix workbench#show sort with period filter</title>
<updated>2017-06-26T08:24:58+00:00</updated>
<author>
<name>Xinhui</name>
</author>
<published>2017-06-23T15:31:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=8e7eb2e722ad4615f4b34253dd2fcaa6226887a9'/>
<id>8e7eb2e722ad4615f4b34253dd2fcaa6226887a9</id>
<content type='text'>
Refs #3826
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Refs #3826
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix workbench#show filter by associated lines with sorting</title>
<updated>2017-06-23T09:59:52+00:00</updated>
<author>
<name>Xinhui</name>
</author>
<published>2017-06-23T09:59:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=e74ee2e805b78666caa78b50df708cf25d3150ea'/>
<id>e74ee2e805b78666caa78b50df708cf25d3150ea</id>
<content type='text'>
refs #3826
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
refs #3826
</pre>
</div>
</content>
</entry>
<entry>
<title>JS for date validation</title>
<updated>2017-06-23T09:51:48+00:00</updated>
<author>
<name>Robert</name>
</author>
<published>2017-06-23T09:43:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=970954938043d8d73c4457ee2d91e22c0e422e65'/>
<id>970954938043d8d73c4457ee2d91e22c0e422e65</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs: #3595@3h; calendars/new Date validation</title>
<updated>2017-06-20T15:03:56+00:00</updated>
<author>
<name>Robert</name>
</author>
<published>2017-06-20T15:03:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=f42ea52d0f7f6fd6cab7f9179f93e189dd90bdca'/>
<id>f42ea52d0f7f6fd6cab7f9179f93e189dd90bdca</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>lines/show.html.erb_spec.rb: Fix specs resulting from `LineDecorator`</title>
<updated>2017-06-19T16:40:09+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2017-06-19T16:35:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=140270297b1db064b78472ccd7e59b8279d21be7'/>
<id>140270297b1db064b78472ccd7e59b8279d21be7</id>
<content type='text'>
The tests failed because we weren't using a decorated `Chouette::Line`
object, but the views now expect decorated lines in order to be able to
call the `#action_links` method.

Here are our failures:

    5) /lines/show should render h1 with the line name
       Failure/Error: - @line.action_links.each do |link|

       ActionView::Template::Error:
         undefined method `action_links' for #&lt;Chouette::Line:0x007fc8cdf0bb88&gt;
       # ./app/views/lines/show.html.slim:10:in `block in _app_views_lines_show_html_slim___3813514632397395671_70250211127360'
       # ./app/helpers/newapplication_helper.rb:246:in `block (2 levels) in pageheader'
       # ./app/helpers/newapplication_helper.rb:244:in `block in pageheader'
       # ./app/helpers/newapplication_helper.rb:243:in `pageheader'
       # ./app/views/lines/show.html.slim:2:in `_app_views_lines_show_html_slim___3813514632397395671_70250211127360'
       # ./spec/views/lines/show.html.erb_spec.rb:16:in `block (2 levels) in &lt;top (required)&gt;'
       # -e:1:in `&lt;main&gt;'
       # ------------------
       # --- Caused by: ---
       # NoMethodError:
       #   undefined method `action_links' for #&lt;Chouette::Line:0x007fc8cdf0bb88&gt;
       #   ./app/views/lines/show.html.slim:10:in `block in _app_views_lines_show_html_slim___3813514632397395671_70250211127360'

    6) /lines/show should render a link to remove the line
       Failure/Error: - @line.action_links.each do |link|

       ActionView::Template::Error:
         undefined method `action_links' for #&lt;Chouette::Line:0x007fc8cfdaa710&gt;
       # ./app/views/lines/show.html.slim:10:in `block in _app_views_lines_show_html_slim___3813514632397395671_70250211127360'
       # ./app/helpers/newapplication_helper.rb:246:in `block (2 levels) in pageheader'
       # ./app/helpers/newapplication_helper.rb:244:in `block in pageheader'
       # ./app/helpers/newapplication_helper.rb:243:in `pageheader'
       # ./app/views/lines/show.html.slim:2:in `_app_views_lines_show_html_slim___3813514632397395671_70250211127360'
       # ./spec/views/lines/show.html.erb_spec.rb:31:in `block (2 levels) in &lt;top (required)&gt;'
       # -e:1:in `&lt;main&gt;'
       # ------------------
       # --- Caused by: ---
       # NoMethodError:
       #   undefined method `action_links' for #&lt;Chouette::Line:0x007fc8cfdaa710&gt;
       #   ./app/views/lines/show.html.slim:10:in `block in _app_views_lines_show_html_slim___3813514632397395671_70250211127360'

Update the test to decorate the lines used in them.

Turn `current_organisation` into a `context` field on `LineDecorator`
because otherwise it's a global variable that comes from wherever that's
required in `LineDecorator`. And we'd have to mock
`current_organisation` on `line` in the test, which I wasn't keen on.

Refs #3479
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The tests failed because we weren't using a decorated `Chouette::Line`
object, but the views now expect decorated lines in order to be able to
call the `#action_links` method.

Here are our failures:

    5) /lines/show should render h1 with the line name
       Failure/Error: - @line.action_links.each do |link|

       ActionView::Template::Error:
         undefined method `action_links' for #&lt;Chouette::Line:0x007fc8cdf0bb88&gt;
       # ./app/views/lines/show.html.slim:10:in `block in _app_views_lines_show_html_slim___3813514632397395671_70250211127360'
       # ./app/helpers/newapplication_helper.rb:246:in `block (2 levels) in pageheader'
       # ./app/helpers/newapplication_helper.rb:244:in `block in pageheader'
       # ./app/helpers/newapplication_helper.rb:243:in `pageheader'
       # ./app/views/lines/show.html.slim:2:in `_app_views_lines_show_html_slim___3813514632397395671_70250211127360'
       # ./spec/views/lines/show.html.erb_spec.rb:16:in `block (2 levels) in &lt;top (required)&gt;'
       # -e:1:in `&lt;main&gt;'
       # ------------------
       # --- Caused by: ---
       # NoMethodError:
       #   undefined method `action_links' for #&lt;Chouette::Line:0x007fc8cdf0bb88&gt;
       #   ./app/views/lines/show.html.slim:10:in `block in _app_views_lines_show_html_slim___3813514632397395671_70250211127360'

    6) /lines/show should render a link to remove the line
       Failure/Error: - @line.action_links.each do |link|

       ActionView::Template::Error:
         undefined method `action_links' for #&lt;Chouette::Line:0x007fc8cfdaa710&gt;
       # ./app/views/lines/show.html.slim:10:in `block in _app_views_lines_show_html_slim___3813514632397395671_70250211127360'
       # ./app/helpers/newapplication_helper.rb:246:in `block (2 levels) in pageheader'
       # ./app/helpers/newapplication_helper.rb:244:in `block in pageheader'
       # ./app/helpers/newapplication_helper.rb:243:in `pageheader'
       # ./app/views/lines/show.html.slim:2:in `_app_views_lines_show_html_slim___3813514632397395671_70250211127360'
       # ./spec/views/lines/show.html.erb_spec.rb:31:in `block (2 levels) in &lt;top (required)&gt;'
       # -e:1:in `&lt;main&gt;'
       # ------------------
       # --- Caused by: ---
       # NoMethodError:
       #   undefined method `action_links' for #&lt;Chouette::Line:0x007fc8cfdaa710&gt;
       #   ./app/views/lines/show.html.slim:10:in `block in _app_views_lines_show_html_slim___3813514632397395671_70250211127360'

Update the test to decorate the lines used in them.

Turn `current_organisation` into a `context` field on `LineDecorator`
because otherwise it's a global variable that comes from wherever that's
required in `LineDecorator`. And we'd have to mock
`current_organisation` on `line` in the test, which I wasn't keen on.

Refs #3479
</pre>
</div>
</content>
</entry>
<entry>
<title>CalendarsController#show: Wrap `@calendar` assignment in `#show!`</title>
<updated>2017-06-19T16:20:59+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2017-06-19T16:20:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=b281113868ee80edb61de5b03adb761e4ceca036'/>
<id>b281113868ee80edb61de5b03adb761e4ceca036</id>
<content type='text'>
Don't really know what this is (assuming it comes from
'inherited_resources'), but putting the decoration inside this block
seemed to work in the other cases I tried recently (like
`LinesController#show`).

Refs #3479
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Don't really know what this is (assuming it comes from
'inherited_resources'), but putting the decoration inside this block
seemed to work in the other cases I tried recently (like
`LinesController#show`).

Refs #3479
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'origin/master' into 3479-refactor-table_builder-helper</title>
<updated>2017-06-19T16:11:36+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2017-06-19T16:11:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=7172eaf839b57c1003537713286033e7e5f6c005'/>
<id>7172eaf839b57c1003537713286033e7e5f6c005</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
