<feed xmlns='http://www.w3.org/2005/Atom'>
<title>chouette-core/spec/views/time_tables, branch developer-toolbar</title>
<subtitle>Chouette manage transport static data</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/'/>
<entry>
<title>Remove page title test on views spec</title>
<updated>2017-11-28T11:23:38+00:00</updated>
<author>
<name>Xinhui</name>
</author>
<published>2017-11-24T16:52:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=9a313f95785a55788af54a46bf1f846b74c16c54'/>
<id>9a313f95785a55788af54a46bf1f846b74c16c54</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>time_tables/show.html.erb_spec.rb: Fix specs from `TimeTableDecorator`</title>
<updated>2017-06-19T16:43:16+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2017-06-19T16:43:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=3343920fe8df5378f7bced238b03860e249ac1cf'/>
<id>3343920fe8df5378f7bced238b03860e249ac1cf</id>
<content type='text'>
Was getting these failures after switching the controller over to use a
decorated `@time_table`:

    Failures:

      1) /time_tables/show should render h2 with the time_table comment
         Failure/Error: - @time_table.action_links.each do |link|

         ActionView::Template::Error:
           undefined method `action_links' for #&lt;Chouette::TimeTable:0x007fc8cefb8260&gt;
         # ./app/views/time_tables/show.html.slim:13:in `block in _app_views_time_tables_show_html_slim__2702796193816469913_70250218141540'
         # ./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/time_tables/show.html.slim:4:in `_app_views_time_tables_show_html_slim__2702796193816469913_70250218141540'
         # ./spec/views/time_tables/show.html.erb_spec.rb:15: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::TimeTable:0x007fc8cefb8260&gt;
         #   ./app/views/time_tables/show.html.slim:13:in `block in _app_views_time_tables_show_html_slim__2702796193816469913_70250218141540'

      2) /time_tables/show should render a link to edit the time_table
         Failure/Error: - @time_table.action_links.each do |link|

         ActionView::Template::Error:
           undefined method `action_links' for #&lt;Chouette::TimeTable:0x007fc8cb65b148&gt;
         # ./app/views/time_tables/show.html.slim:13:in `block in _app_views_time_tables_show_html_slim__2702796193816469913_70250218141540'
         # ./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/time_tables/show.html.slim:4:in `_app_views_time_tables_show_html_slim__2702796193816469913_70250218141540'
         # ./spec/views/time_tables/show.html.erb_spec.rb:20: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::TimeTable:0x007fc8cb65b148&gt;
         #   ./app/views/time_tables/show.html.slim:13:in `block in _app_views_time_tables_show_html_slim__2702796193816469913_70250218141540'

      3) /time_tables/show should render a link to remove the time_table
         Failure/Error: - @time_table.action_links.each do |link|

         ActionView::Template::Error:
           undefined method `action_links' for #&lt;Chouette::TimeTable:0x007fc8cd251820&gt;
         # ./app/views/time_tables/show.html.slim:13:in `block in _app_views_time_tables_show_html_slim__2702796193816469913_70250218141540'
         # ./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/time_tables/show.html.slim:4:in `_app_views_time_tables_show_html_slim__2702796193816469913_70250218141540'
         # ./spec/views/time_tables/show.html.erb_spec.rb:25: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::TimeTable:0x007fc8cd251820&gt;
         #   ./app/views/time_tables/show.html.slim:13:in `block in _app_views_time_tables_show_html_slim__2702796193816469913_70250218141540'

    Finished in 2.44 seconds (files took 0.82818 seconds to load)
    3 examples, 3 failures

    Failed examples:

    rspec ./spec/views/time_tables/show.html.erb_spec.rb:14 # /time_tables/show should render h2 with the time_table comment
    rspec ./spec/views/time_tables/show.html.erb_spec.rb:19 # /time_tables/show should render a link to edit the time_table
    rspec ./spec/views/time_tables/show.html.erb_spec.rb:24 # /time_tables/show should render a link to remove the time_table

To match the controller, we need to decorate the `time_table` objects
used in these tests as well, because the view code has changed.
Decoration is necessary to give us the `#action_links` method that we
use to render the header links on the page.

Refs #3479
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Was getting these failures after switching the controller over to use a
decorated `@time_table`:

    Failures:

      1) /time_tables/show should render h2 with the time_table comment
         Failure/Error: - @time_table.action_links.each do |link|

         ActionView::Template::Error:
           undefined method `action_links' for #&lt;Chouette::TimeTable:0x007fc8cefb8260&gt;
         # ./app/views/time_tables/show.html.slim:13:in `block in _app_views_time_tables_show_html_slim__2702796193816469913_70250218141540'
         # ./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/time_tables/show.html.slim:4:in `_app_views_time_tables_show_html_slim__2702796193816469913_70250218141540'
         # ./spec/views/time_tables/show.html.erb_spec.rb:15: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::TimeTable:0x007fc8cefb8260&gt;
         #   ./app/views/time_tables/show.html.slim:13:in `block in _app_views_time_tables_show_html_slim__2702796193816469913_70250218141540'

      2) /time_tables/show should render a link to edit the time_table
         Failure/Error: - @time_table.action_links.each do |link|

         ActionView::Template::Error:
           undefined method `action_links' for #&lt;Chouette::TimeTable:0x007fc8cb65b148&gt;
         # ./app/views/time_tables/show.html.slim:13:in `block in _app_views_time_tables_show_html_slim__2702796193816469913_70250218141540'
         # ./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/time_tables/show.html.slim:4:in `_app_views_time_tables_show_html_slim__2702796193816469913_70250218141540'
         # ./spec/views/time_tables/show.html.erb_spec.rb:20: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::TimeTable:0x007fc8cb65b148&gt;
         #   ./app/views/time_tables/show.html.slim:13:in `block in _app_views_time_tables_show_html_slim__2702796193816469913_70250218141540'

      3) /time_tables/show should render a link to remove the time_table
         Failure/Error: - @time_table.action_links.each do |link|

         ActionView::Template::Error:
           undefined method `action_links' for #&lt;Chouette::TimeTable:0x007fc8cd251820&gt;
         # ./app/views/time_tables/show.html.slim:13:in `block in _app_views_time_tables_show_html_slim__2702796193816469913_70250218141540'
         # ./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/time_tables/show.html.slim:4:in `_app_views_time_tables_show_html_slim__2702796193816469913_70250218141540'
         # ./spec/views/time_tables/show.html.erb_spec.rb:25: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::TimeTable:0x007fc8cd251820&gt;
         #   ./app/views/time_tables/show.html.slim:13:in `block in _app_views_time_tables_show_html_slim__2702796193816469913_70250218141540'

    Finished in 2.44 seconds (files took 0.82818 seconds to load)
    3 examples, 3 failures

    Failed examples:

    rspec ./spec/views/time_tables/show.html.erb_spec.rb:14 # /time_tables/show should render h2 with the time_table comment
    rspec ./spec/views/time_tables/show.html.erb_spec.rb:19 # /time_tables/show should render a link to edit the time_table
    rspec ./spec/views/time_tables/show.html.erb_spec.rb:24 # /time_tables/show should render a link to remove the time_table

To match the controller, we need to decorate the `time_table` objects
used in these tests as well, because the view code has changed.
Decoration is necessary to give us the `#action_links` method that we
use to render the header links on the page.

Refs #3479
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs #3183 #3185: starting init for create/duplicate, adding actionType to state (fix tests)</title>
<updated>2017-04-25T15:14:24+00:00</updated>
<author>
<name>jpl</name>
</author>
<published>2017-04-25T15:14:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=4912577341d05526b5442f081660760c506e150c'/>
<id>4912577341d05526b5442f081660760c506e150c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs #2893: remove (again) rails form in tt#edit (managed by reactux)</title>
<updated>2017-04-24T09:34:01+00:00</updated>
<author>
<name>jpl</name>
</author>
<published>2017-04-24T09:33:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=1cbed80c913420c76ac7d3716b9d8c4bf4e14278'/>
<id>1cbed80c913420c76ac7d3716b9d8c4bf4e14278</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs #2909: Fix tests, updating table builder</title>
<updated>2017-04-10T13:40:46+00:00</updated>
<author>
<name>jpl</name>
</author>
<published>2017-04-10T13:40:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=19127ebb18ee3f068ff686bf21bad7472f493186'/>
<id>19127ebb18ee3f068ff686bf21bad7472f493186</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs #2890: updating time_tables#show (calendars helper refacto in progress)</title>
<updated>2017-04-06T13:15:51+00:00</updated>
<author>
<name>jpl</name>
</author>
<published>2017-04-06T13:15:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=198cf9f3995df6149361c45ee1b2b1ea10288660'/>
<id>198cf9f3995df6149361c45ee1b2b1ea10288660</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs #2892: starting integration update on timetables#edit</title>
<updated>2017-04-04T12:59:41+00:00</updated>
<author>
<name>jpl</name>
</author>
<published>2017-04-04T12:59:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=043e813ce3c13be2611d20d5e084f2add79afb59'/>
<id>043e813ce3c13be2611d20d5e084f2add79afb59</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs #2476 : Disable modification and deletion of resources from another referential; in progress</title>
<updated>2017-02-07T10:25:29+00:00</updated>
<author>
<name>Vlatka Pavisic</name>
</author>
<published>2017-02-06T10:42:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=d94b1271d147fdb5bbd1e616e116173198e858db'/>
<id>d94b1271d147fdb5bbd1e616e116173198e858db</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs #2347 : Fix view spec</title>
<updated>2017-01-09T10:19:04+00:00</updated>
<author>
<name>Vlatka Pavisic</name>
</author>
<published>2017-01-09T10:19:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=b6c227a9347d21dfc7226b734ac608346d973c4f'/>
<id>b6c227a9347d21dfc7226b734ac608346d973c4f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Initialize rails 4 migration</title>
<updated>2015-01-05T13:56:12+00:00</updated>
<author>
<name>Luc Donnet</name>
</author>
<published>2015-01-05T13:56:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=3bc6d313bebdc1f03e4021aabbc774a0cd97d938'/>
<id>3bc6d313bebdc1f03e4021aabbc774a0cd97d938</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
