diff options
| author | Luc Donnet | 2012-10-11 09:39:10 +0200 |
|---|---|---|
| committer | Luc Donnet | 2012-10-11 09:39:10 +0200 |
| commit | 09419f7fbe6be35abba2b638431e41480e8cf764 (patch) | |
| tree | a4153b68e1b90c15786e0f27640252c983469ec9 /spec | |
| parent | 4f51655e17efe0456019d05921a669f6e5fc76ba (diff) | |
| download | chouette-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.rb | 1 |
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 |
