Skip to content

Commit

Permalink
fixing path names
Browse files Browse the repository at this point in the history
  • Loading branch information
guilhermesilveira committed Nov 4, 2010
1 parent cef172f commit 8055522
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 51 deletions.
4 changes: 2 additions & 2 deletions spec/unit/client/cache/http_ext_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class HashResponse
attr_accessor :code
end

context Restfulie::Client::HTTP::Response do
context Restfulie::Client::HTTP::ResponseStatus do

def check_complies_with(from, to, method)
o = HashResponse.new
Expand Down Expand Up @@ -41,7 +41,7 @@ def check_complies_with(from, to, method)

end

context Restfulie::Client::HTTP::Response do
context Restfulie::Client::HTTP::ResponseStatus do

before do
@response = mock Net::HTTPResponse
Expand Down
5 changes: 3 additions & 2 deletions spec/unit/common/converter/form_url_encoded_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
describe Restfulie::Common::Converter::FormUrlEncoded do
context "when unmarshalling" do
it "when passing not a hash, returns itself" do
Restfulie::Common::Converter::::FormUrlEncoded.marshal("some content").should == "some content"
Restfulie::Common::Converter::FormUrlEncoded.marshal("some content").should == "some content"
end
it "when passing a hash should concatenate" do
Restfulie::Common::Converter::::FormUrlEncoded.marshal({:user => "guilherme", :password => "my_pass"}).should == "user=guilherme&password=my_pass"
params = {:user => "guilherme", :password => "my_pass"}
Restfulie::Common::Converter::FormUrlEncoded.marshal(params).should == "user=guilherme&password=my_pass"
end
end
end
47 changes: 0 additions & 47 deletions spec/unit/server/action_controller/created_responder_spec.rb

This file was deleted.

0 comments on commit 8055522

Please sign in to comment.