diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-08-02 23:25:45 -0300 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-08-04 17:16:50 -0300 |
commit | 1e736fb5272b75eb363a1ef766e29d35d53babb6 (patch) | |
tree | 6300afe184fbeec36ecc1724f673cdbc3df7b2e5 /spec/lib | |
parent | 51cf14b37c64b1afab25b10dfe94e281ff58d288 (diff) | |
download | gitlab-ce-1e736fb5272b75eb363a1ef766e29d35d53babb6.tar.gz |
Allow users to import cross-repository pull requests from GitHub
Diffstat (limited to 'spec/lib')
-rw-r--r-- | spec/lib/gitlab/github_import/pull_request_formatter_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/lib/gitlab/github_import/pull_request_formatter_spec.rb b/spec/lib/gitlab/github_import/pull_request_formatter_spec.rb index 79931ecd134..ad79715a2d4 100644 --- a/spec/lib/gitlab/github_import/pull_request_formatter_spec.rb +++ b/spec/lib/gitlab/github_import/pull_request_formatter_spec.rb @@ -178,8 +178,8 @@ describe Gitlab::GithubImport::PullRequestFormatter, lib: true do let(:source_repo) { double(id: 2) } let(:raw_data) { double(base_data) } - it 'returns false' do - expect(pull_request.valid?).to eq false + it 'returns true' do + expect(pull_request.valid?).to eq true end end @@ -187,8 +187,8 @@ describe Gitlab::GithubImport::PullRequestFormatter, lib: true do let(:target_repo) { double(id: 2) } let(:raw_data) { double(base_data) } - it 'returns false' do - expect(pull_request.valid?).to eq false + it 'returns true' do + expect(pull_request.valid?).to eq true end end end |