Sha256: 351bc88b048716ac4a0ce2dbe3852b02b272c8f5d1b340717e696dc2603425ad
Contents?: true
Size: 654 Bytes
Versions: 40
Compression:
Stored size: 654 Bytes
Contents
require 'test_helper' module Shipit class GithubUrlHelperTest < ActiveSupport::TestCase include Shipit::GithubUrlHelper test "#github_user_url returns a user url" do assert_equal "https://github.com/tobi", github_user_url("tobi") end test "#github_repo_url returns a repo url" do assert_equal "https://github.com/rails/rails", github_repo_url("rails", "rails") end test "#github_commit_url returns a commit url" do expected = 'https://github.com/shopify/shipit-engine/commit/6d9278037b872fd9a6690523e411ecb3aa181355' assert_equal expected, github_commit_url(shipit_commits(:first)) end end end
Version data entries
40 entries across 40 versions & 1 rubygems