afmotion 0.9.0 → 2.0.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,41 +0,0 @@
1
- describe "AFMotion::Operation" do
2
- before do
3
- @request = NSURLRequest.requestWithURL(NSURL.URLWithString("http://google.com"))
4
- end
5
-
6
- describe "::HTTP" do
7
- describe ".for_request" do
8
- it "should be a AFHTTPRequestOperation" do
9
- operation = AFMotion::Operation::HTTP.for_request(@request)
10
- operation.is_a?(AFHTTPRequestOperation).should == true
11
- end
12
- end
13
- end
14
-
15
- describe "::JSON" do
16
- describe ".for_request" do
17
- it "should be a AFJSONRequestOperation" do
18
- operation = AFMotion::Operation::JSON.for_request(@request)
19
- operation.is_a?(AFJSONRequestOperation).should == true
20
- end
21
- end
22
- end
23
-
24
- describe "::XML" do
25
- describe ".for_request" do
26
- it "should be a AFXMLRequestOperation" do
27
- operation = AFMotion::Operation::XML.for_request(@request)
28
- operation.is_a?(AFXMLRequestOperation).should == true
29
- end
30
- end
31
- end
32
-
33
- describe "::PLIST" do
34
- describe ".for_request" do
35
- it "should be a AFPropertyListRequestOperation" do
36
- operation = AFMotion::Operation::PLIST.for_request(@request)
37
- operation.is_a?(AFPropertyListRequestOperation).should == true
38
- end
39
- end
40
- end
41
- end