Sha256: 283565338fd32ba48042c2547c6e42945cd27a6ec1f1e696e074d350e3680848
Contents?: true
Size: 438 Bytes
Versions: 3
Compression:
Stored size: 438 Bytes
Contents
require 'test_helper' module Shipit module Api class CommitsControllerTest < ActionController::TestCase setup do @stack = shipit_stacks(:shipit) authenticate! end test "#index returns a list of commits" do commit = @stack.commits.last get :index, params: {stack_id: @stack.to_param} assert_response :ok assert_json '0.sha', commit.sha end end end end
Version data entries
3 entries across 3 versions & 1 rubygems