Sha256: ef70d4d417b3ac73a4fee7826afbf977cdc0be7fa3e68a176bf0810867a4e17e
Contents?: true
Size: 623 Bytes
Versions: 1
Compression:
Stored size: 623 Bytes
Contents
require 'spec_helper' describe JenkinsTracker::Base do describe '#initialize' do it 'does basic set up' do obj = described_class.new( :changelog_file => fixture_file_path('git_changelog.txt'), :tracker_token => 'xxx', :job_name => 'foo_job', :build_url => 'http://jenkins.bitium/com/foo_job/3' ) expect(obj.changelog).to eq( File.read(fixture_file_path('git_changelog.txt')) ) expect(obj.tracker_client.token).to eq('xxx') expect(obj.job_name).to eq('foo_job') expect(obj.build_url).to eq('http://jenkins.bitium/com/foo_job/3') end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jenkins_tracker-0.1.0 | spec/jenkins_tracker/base_spec.rb |