Fork Of

Revisions

gist: 24354 Download_button fork
public
Public Clone URL: git://gist.github.com/24354.git
Embed All Files: show embed
Text only #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
def it_should_return(content_type)
  it "should have content type #{content_type}" do
    @response.should have_content_type(content_type)
  end
end
 
describe "#index" do
  before do
    @response = request("/gists.json")
  end
 
  it "should return successfully" do
    @response.should be_successful
  end
 
  it_should_return :json
  
end