diff options
| author | Michel Etienne | 2014-08-18 08:42:05 +0200 |
|---|---|---|
| committer | Michel Etienne | 2014-08-18 08:42:05 +0200 |
| commit | ee6def8ac1675876e2ec570f9b8f5d1813abf93c (patch) | |
| tree | a7406cd091f3df56c8ef9f71315d242c01531268 | |
| parent | f81d7910a55fd2d3f881fa6778abbc7793af915e (diff) | |
| download | chouette-core-ee6def8ac1675876e2ec570f9b8f5d1813abf93c.tar.bz2 | |
add time_table_combination to rspec
| -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 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 |
