WebMock: Rspec - Test Facebook Validation by using JSON response
问题 I am having difficulty to write specs for my program as I need to validate the facebook ID after I filled in all the correct format information. My facebook ID is retrieved from JSON response so I not sure how do I portray this in my specs. I am very new to this field and I had been stuck at this point for a long time. I will be grateful if there are some sample codes to help me in this. Below are my half-done specs. Scenario: Use user given Fbid to validate facebook page by using "http:/