"name": "Death Star" } ]` ts = &TestServer{ apiToken: "abcde90792f3898ab464cd3412345", } ts.Boot() ts.SetResponse("/projects", json) client.SetResolver(request.Resolver{ TrackerDomain: ts.URL, }) }) It("prints a representation of the user's projects to the screen", func() { output := client.Projects() printedOutput := output.String() Expect(printedOutput).To(ContainSubstring("Learn About the Force (98)")) Expect(printedOutput).To(ContainSubstring(" Current Iteration : 1")) Expect(printedOutput).To(ContainSubstring("Death Star (99)")) Expect(printedOutput).To(ContainSubstring(" Description : Expeditionary Battle Planetoid")) Expect(printedOutput).To(ContainSubstring(" Current Iteration : 15")) }) }) Describe("Activity", func() { BeforeEach(func() { json = `[ {"message": "Wilhuff Tarkin changed iteration 1's length from default to 2 weeks"},