Skip to content

mlackman/fake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FAKE

simple example

 describe "Simple service without parameters" do before(:each) { Fake.start(port:4568) } after(:each) { Fake.stop } it "can handle get" do Fake.get('/').respond(body:"_response_") response = HTTParty.get('http://localhost:4568') expect(response.body).to eq "_response_" end end

About

To stub external web services

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages