aboutsummaryrefslogtreecommitdiffstats
path: root/spec/views
diff options
context:
space:
mode:
authorMichel Etienne2014-08-18 08:42:05 +0200
committerMichel Etienne2014-08-18 08:42:05 +0200
commitee6def8ac1675876e2ec570f9b8f5d1813abf93c (patch)
treea7406cd091f3df56c8ef9f71315d242c01531268 /spec/views
parentf81d7910a55fd2d3f881fa6778abbc7793af915e (diff)
downloadchouette-core-ee6def8ac1675876e2ec570f9b8f5d1813abf93c.tar.bz2
add time_table_combination to rspec
Diffstat (limited to 'spec/views')
-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 9d0527c5d..b5b7dedb3 100644
--- a/spec/views/time_tables/show.html.erb_spec.rb
+++ b/spec/views/time_tables/show.html.erb_spec.rb
@@ -5,6 +5,7 @@ describe "/time_tables/show" do
assign_referential
let!(:time_table) { assign(:time_table, create(:time_table)) }
let!(:year) { assign(:year, Date.today.cwyear) }
+ let!(:time_table_combination) {assign(:time_table_combination, TimeTableCombination.new)}
it "should render h2 with the time_table comment" do
render