This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
it "should result in '13' when given a '11'" do | |
machine.encode( "11" ).should == "13" | |
end | |
it "should result in '147' when given a '123'" do | |
machine.encode( "123" ).should == "147" | |
end | |
it "should result in '147A' when given a '1234'" do |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# how | |
curl -i -X PUT -d '{"answer":"<answer_goes_here>"}' http://minisculus.edendevelopment.co.uk/<question_id_here> | |
# e.g. | |
curl -i -X PUT -d '{"answer":"incorrect"}' http://minisculus.edendevelopment.co.uk/14f7ca5f6ff1a5afb9032aa5e533ad95 |
NewerOlder