- This is a sample json data for freeCodeCamp's project.
- このJSONデータは、freeCodeCampのプロジェクト(課題)のために利用します。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% bundle exec rspec -I plugins/redmine_issue_badge/spec -e 'When Administrator' \ | |
--format documentation plugins/redmine_issue_badge/spec/features/badge_spec.rb | |
Run options: include {:full_description=>/When\ Administrator/} | |
IssueBadge | |
When Administrator | |
Global settings for badge option is displayed. | |
Badge is displayed if global settings badge option is activated. (FAILED - 1) | |
Badge is not displayed if global settings badge option is dectivated. (FAILED - 2) | |
Issue badge block is displayed if global settings badge option is activated and click badge. (FAILED - 3) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# frozen_string_literal: true | |
require_relative '../spec_helper' | |
require_relative '../support/login_helper' | |
feature 'IssueBadge', js: true do | |
include LoginHelper | |
let(:project) { FactoryBot.create(:project) } | |
let(:tracker) { FactoryBot.create(:tracker, :with_default_status) } | |
let(:role) { FactoryBot.create(:role) } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding: utf-8 | |
import pprint | |
import os # 環境変数を扱うモジュール | |
import sys # コマンドライン引数を扱うモジュール | |
import requests # http通信に便利なモジュール | |
# | |
# $ python --version | |
# Python 3.5.4 | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import json | |
import os | |
import textwrap | |
from datetime import datetime | |
from datetime import timedelta | |
import re | |
class ConfluencePagePost: | |
'''Class to post page/blog content to Confluence via REST API.''' |
OlderNewer