markbates (owner)

Revisions

gist: 187734 Download_button fork
public
Public Clone URL: git://gist.github.com/187734.git
Embed All Files: show embed
Ruby #
1
2
3
4
5
6
7
8
9
10
11
12
13
  it 'should take the query string into account' do
    get '/?foo=bar'
    response.status.should == 200
    body = response.body
    
    get '/?foo=bar'
    response.status.should == 200
    body.should == response.body
    
    get '/?one=1'
    response.status.should == 200
    body.should_not == response.body
  end