Skip to content

Commit

Permalink
Fix some specs using deprecated RSpec methods. [#24]
Browse files Browse the repository at this point in the history
  • Loading branch information
marnen committed May 29, 2009
1 parent 5a9a4e2 commit 13ea532
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/views/events/index.html.haml_spec.rb
Expand Up @@ -74,12 +74,12 @@ def name_selector(string)

it "should include events/index.js for JavaScript enhancements" do
render 'events/index'
response[:javascript].should =~ %r{<script[^>]*events/index\.js}
response.capture(:javascript).should =~ %r{<script[^>]*events/index\.js}
end

it "should contain an autodiscovery link for the RSS feed" do
render 'events/index'
response[:head].should have_tag("link[title=RSS][href=#{rss_url}]")
response.capture(:head).should have_tag("link[title=RSS][href=#{rss_url}]")
end

it "should contain a link and a URL for the RSS feed" do
Expand Down

0 comments on commit 13ea532

Please sign in to comment.