Sha256: f9571dcc8151cc3453b0570dc9c401ac3d6cf0929e8c19e9623dab25b5dcda82
Contents?: true
Size: 448 Bytes
Versions: 15
Compression:
Stored size: 448 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.reachable.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
15 entries across 15 versions & 1 rubygems