Sha256: b995c5d3e82b916eb9c260bf29fc235dcab5b2375afce0cc67a0d3748a8886dd
Contents?: true
Size: 365 Bytes
Versions: 2
Compression:
Stored size: 365 Bytes
Contents
require "test_helper.rb" require "api_problem" describe "ApiProblem module" do it "should return a hash" do fake_class = class Class include ApiProblem end http_problem = { problemType: "http://example.com", title: "This is a test" } assert_equal http_problem, fake_class.new.api_problem("http://example.com", "This is a test") end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
api_problem-0.0.2 | test/api_problem_test.rb |
api_problem-0.0.1 | test/api_problem_test.rb |