Permalink
Browse files

excepted paths tested

  • Loading branch information...
1 parent fa43ac2 commit ef657687c67216961d43c0ad569016b672daa8e9 Mark Yoon committed Jul 16, 2009
Showing with 5 additions and 0 deletions.
  1. +1 −0 features/support/env.rb
  2. +4 −0 features/view_trail.feature
View
@@ -42,4 +42,5 @@ def bar
# Sets up routes
ActionController::Routing::Routes.draw do |map|
map.foo "/foo", :controller => "foo", :action => "foo"
+ map.foo "/bar", :controller => "foo", :action => "bar"
end
@@ -32,3 +32,7 @@ Feature: ViewTrail
And the last activity should have "312" whodunnit
And the last activity should have "foo" action
+ Scenario: GET request on excepted path
+ Given I have 0 activities
+ When I get the bar page
+ Then I should have 0 activities

0 comments on commit ef65768

Please sign in to comment.