lib/rails/auth/rspec/helper_methods.rb in rails-auth-0.2.0 vs lib/rails/auth/rspec/helper_methods.rb in rails-auth-0.3.0

- old
+ new

@@ -28,10 +28,10 @@ define_method("#{method.downcase}_request") do |certificates: {}| path = self.class.description # Warn if methods are improperly used unless path.chars[0] == "/" - fail ArgumentError, "expected #{path} to start with '/'" + raise ArgumentError, "expected #{path} to start with '/'" end env = { "REQUEST_METHOD" => method, "REQUEST_PATH" => self.class.description