require 'helper' class TestOctoparts < Test::Unit::TestCase def test_that_it_has_a_version_number refute_nil ::Octoparts::VERSION end def test_it_does_something_useful assert { ['exist'].empty? == false } end test "Octoparts.create_aggregate_request" do aggregate_request = Octoparts.build_aggregate_request do request_meta(id: 'id') end assert { aggregate_request.request_meta.class == Octoparts::Model::RequestMeta } end end