Permalink
Browse files

Timesheets index view specs updated: should contain a link to enter t…

…ime against the current week
  • Loading branch information...
1 parent 8c6c3ea commit 6f89ecbec616f884108a6305a540514ced9cf82c @enricob committed Apr 11, 2009
Showing with 5 additions and 0 deletions.
  1. +5 −0 spec/views/timesheets/index.html.erb_spec.rb
@@ -19,4 +19,9 @@
render
response.should have_tag("a[href=?]", "#{projects_path}")
end
+
+ it "should contain a link to enter time against the current week" do
+ render
+ response.should have_tag("a[href=?]", "/timesheets/#{date_path(this_week)}")
+ end
end

0 comments on commit 6f89ecb

Please sign in to comment.