Sha256: d5694f1acf3ef45b737bde1563cf17a1c594f90f0294046751d95f6b3c5fb3e4
Contents?: true
Size: 545 Bytes
Versions: 14
Compression:
Stored size: 545 Bytes
Contents
require 'test_helper' module Shipit class ShipitTest < ActiveSupport::TestCase setup do Shipit.instance_variables.each(&Shipit.method(:remove_instance_variable)) end test ".github_teams returns an empty array if there's no team" do assert_equal([], Shipit.github_teams) end test ".github_teams returns the teams key as an array of Team" do Shipit.github.stubs(:oauth_teams).returns(['shopify/developers']) assert_equal(['shopify/developers'], Shipit.github_teams.map(&:handle)) end end end
Version data entries
14 entries across 14 versions & 1 rubygems