Permalink
Browse files

fixup the specs

  • Loading branch information...
1 parent fd82a26 commit 7d58fc89115b3a15357e38df43392ede4eb127b4 @atmos committed Aug 31, 2010
Showing with 10 additions and 2 deletions.
  1. +3 −1 README.md
  2. +7 −1 spec/cider_app_spec.rb
View
@@ -1,10 +1,12 @@
ciderapp.org
============
-A web service for sending development recipes to the cider client.
+A web app for sending chef recipes to the [cinderella][cinderella] client.
Developing
==========
% gem install bundler
% bundle install
% bundle exec rake
+
+[cinderella]: http://github.com/atmos/cinderella
View
@@ -24,7 +24,7 @@
response = get "/latest"
data = JSON.parse(response.body)
- data["recipes"].should eql(["homebrew", "homebrew::dbs", "homebrew::misc", "ruby", "ruby::irbrc", "ruby::rails", "ruby::sinatra", "node" ])
+ data["recipes"].should eql(["homebrew", "homebrew::dbs", "homebrew::misc", "ruby", "ruby::irbrc", "node"])
end
it "GET /refresh responds w/ the status of generating a new tgz" do
@@ -34,4 +34,10 @@
response = post "/refresh"
JSON.parse(response.body)["status"].should be_true
end
+
+ it "GET /solo_rb responds w/ the latest solo.rb file" do
+ response = get "/solo.rb"
+ response.status.should eql(200)
+ response['Content-Type'].should eql('text/plain;charset=utf-8')
+ end
end

0 comments on commit 7d58fc8

Please sign in to comment.