git_pivotal_tracker 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
@@ -72,6 +72,8 @@ module GitPivotalTracker
|
|
72
72
|
options[:api_token] = repository.config['pivotal.api-token']
|
73
73
|
options[:project_id] = repository.config['pivotal.project-id']
|
74
74
|
options[:integration_branch] = repository.config['pivotal.integration-branch']
|
75
|
+
options[:only_mine] = repository.config['pivotal.only-mine']
|
76
|
+
options[:include_rejected] = repository.config['pivotal.include-rejected']
|
75
77
|
options[:fast_forward] = repository.config['pivotal.fast-forward']
|
76
78
|
options[:rebase] = repository.config['pivotal.rebase']
|
77
79
|
options[:full_name] = repository.config['pivotal.full-name'] || repository.config['user.name']
|
@@ -110,6 +110,8 @@ describe GitPivotalTracker::Base do
|
|
110
110
|
stub_git_config({
|
111
111
|
'user.name' => 'User Name',
|
112
112
|
'pivotal.integration-branch' => 'development',
|
113
|
+
'pivotal.only-mine' => 1,
|
114
|
+
'pivotal.include-rejected' => 1,
|
113
115
|
'pivotal.fast-forward' => 1,
|
114
116
|
'pivotal.rebase' => 1,
|
115
117
|
'pivotal.verbose' => 1,
|
@@ -130,6 +132,14 @@ describe GitPivotalTracker::Base do
|
|
130
132
|
subject.options[:project_id].should == '123'
|
131
133
|
end
|
132
134
|
|
135
|
+
it "sets only_mine" do
|
136
|
+
subject.options[:only_mine].should be
|
137
|
+
end
|
138
|
+
|
139
|
+
it "sets include_rejected" do
|
140
|
+
subject.options[:include_rejected].should be
|
141
|
+
end
|
142
|
+
|
133
143
|
it "sets fast_forward" do
|
134
144
|
subject.options[:fast_forward].should be
|
135
145
|
end
|