spec/spec_helper.rb in lunetas-0.1.0 vs spec/spec_helper.rb in lunetas-0.1.1
- old
+ new
@@ -22,9 +22,14 @@
include Lunetas::Candy
matches '/just_a_test'
def get
'Chunky Bacon'
end
+ def other_verb(verb)
+ if verb == 'REDIRECT'
+ redirect 'http://example.com'
+ end
+ end
end
class TestException < Lunetas::Error::BaseError
def code
400