Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated spec for testing downcase

  • Loading branch information...
commit 4fbd46b031f41e4e24a2e35d88a945cec4ee9a92 1 parent ac386d0
@czarneckid authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 spec/isitaholiday/api_spec.rb
View
7 spec/isitaholiday/api_spec.rb
@@ -26,6 +26,13 @@ def app
json['status'].should == true
json['name'].should == 'Cinco de Mayo'
end
+
+ get '/api/v1/check/CincoDeMayo/'
+ last_response.should be_ok
+ JSON.parse(last_response.body).tap do |json|
+ json['status'].should == true
+ json['name'].should == 'Cinco de Mayo'
+ end
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.