aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorLuc Donnet2012-10-11 11:28:06 +0200
committerLuc Donnet2012-10-11 11:28:06 +0200
commit2bde64bde90f37bce9c5aba39575386eb56f1e60 (patch)
tree9e21a1791ea1c52a0dee7972f1d739a4d3865cc3 /spec
parent0f61b9f0de549290b9ebf4f5cc2d00b63c2fd02e (diff)
downloadchouette-core-2bde64bde90f37bce9c5aba39575386eb56f1e60.tar.bz2
Fix spec bug for year
Diffstat (limited to 'spec')
-rw-r--r--spec/views/time_tables/show.html.erb_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/views/time_tables/show.html.erb_spec.rb b/spec/views/time_tables/show.html.erb_spec.rb
index 1bf3d1112..9d0527c5d 100644
--- a/spec/views/time_tables/show.html.erb_spec.rb
+++ b/spec/views/time_tables/show.html.erb_spec.rb
@@ -6,7 +6,7 @@ describe "/time_tables/show" do
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
+ it "should render h2 with the time_table comment" do
render
rendered.should have_selector("h2", :text => Regexp.new(time_table.comment))
end