diff --git a/app/views/todos/calendar.html.erb b/app/views/todos/calendar.html.erb index 59a31e95..858c24b3 100644 --- a/app/views/todos/calendar.html.erb +++ b/app/views/todos/calendar.html.erb @@ -59,17 +59,6 @@ var projectNames = <%= project_names_for_autocomplete %>; $('todo_context_name').projectDefaultContextsMap = eval('(' + <%= @default_project_context_name_map %> + ')'); -
<%= link_to('iCal', {:format => 'ics', :token => current_user.token}, :title => "iCal feed" ) %> - Get this calendar in iCal format
- -<% -apply_behavior 'input.hide_tickler:click', :prevent_default => true do |page| - page << "alert('hiding action in tickler from calendar is not yet implemented');" -end -%> \ No newline at end of file diff --git a/spec/views/notes/_notes.rhtml_spec.rb b/spec/views/notes/_notes.rhtml_spec.rb index 21b0fb72..4644163b 100644 --- a/spec/views/notes/_notes.rhtml_spec.rb +++ b/spec/views/notes/_notes.rhtml_spec.rb @@ -5,7 +5,6 @@ describe "/notes/_notes.rhtml" do @project = mock_model(Project, :name => "a project") @note = mock_model(Note, :body => "this is a note", :project => @project, :project_id => @project.id, :created_at => Time.now, :updated_at? => false) - # @controller.template.stub!(:apply_behavior) @controller.template.stub!(:format_date) # @controller.template.stub!(:render) # @controller.template.stub!(:form_remote_tag) diff --git a/spec/views/todos/_toggle_notes.rhtml_spec.rb b/spec/views/todos/_toggle_notes.rhtml_spec.rb index 4a9cf0dc..d768c1e4 100644 --- a/spec/views/todos/_toggle_notes.rhtml_spec.rb +++ b/spec/views/todos/_toggle_notes.rhtml_spec.rb @@ -5,7 +5,6 @@ describe "/todos/_toggle_notes.rhtml" do before :each do @item = mock_model(Todo, :notes => "this is a note") - @controller.template.stub!(:apply_behavior) @controller.template.stub!(:set_default_external!) end