Skip to content

Commit

Permalink
Fix spec that was dependent on old-style formatted routes. [#24]
Browse files Browse the repository at this point in the history
  • Loading branch information
marnen committed May 29, 2009
1 parent bdbc45e commit 7eafdc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/controllers/events_controller_spec.rb
Expand Up @@ -113,7 +113,7 @@
@m = css_select(rss, 'channel')[0].to_s[%r{<\s*atom:link(\s*[^>]*)?>}]
end
@m.should_not be_blank
@m.should =~ /href=(["'])#{formatted_feed_events_url(:rss)}\1/
@m.should =~ /href=(["'])#{feed_events_url(:rss, params[:key])}\1/
@m.should =~ /rel=(["'])self\1/
end

Expand Down

0 comments on commit 7eafdc9

Please sign in to comment.