aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorLuc Donnet2012-10-11 09:39:10 +0200
committerLuc Donnet2012-10-11 09:39:10 +0200
commit09419f7fbe6be35abba2b638431e41480e8cf764 (patch)
treea4153b68e1b90c15786e0f27640252c983469ec9 /spec
parent4f51655e17efe0456019d05921a669f6e5fc76ba (diff)
downloadchouette-core-09419f7fbe6be35abba2b638431e41480e8cf764.tar.bz2
Add year to view for spec
Diffstat (limited to 'spec')
-rw-r--r--spec/views/time_tables/show.html.erb_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/views/time_tables/show.html.erb_spec.rb b/spec/views/time_tables/show.html.erb_spec.rb
index 17449748b..1bf3d1112 100644
--- a/spec/views/time_tables/show.html.erb_spec.rb
+++ b/spec/views/time_tables/show.html.erb_spec.rb
@@ -4,6 +4,7 @@ describe "/time_tables/show" do
assign_referential
let!(:time_table) { assign(:time_table, create(:time_table)) }
+ let!(:year) { assign(:year, Date.today.cwyear) }
it "should render h2 with the time_table comment" do
render