diff options
author | Homu <homu@barosl.com> | 2015-11-27 15:12:00 +0900 |
---|---|---|
committer | Homu <homu@barosl.com> | 2015-11-27 15:12:00 +0900 |
commit | 437f604956e629e1b96270d87f6fdb05b189de2d (patch) | |
tree | e01f1583c45652499610c07a95a28a5b869980f1 /spec/bundler/dsl_spec.rb | |
parent | 50731b93d77fc8b4155d11306afb51d5e9534060 (diff) | |
parent | 046f2831c1518519c47b8b5be97c1ed8aef4e58c (diff) | |
download | bundler-437f604956e629e1b96270d87f6fdb05b189de2d.tar.gz |
Auto merge of #4124 - bundler:seg-rubocop, r=indirect
More rubocop_todo cleanup
Diffstat (limited to 'spec/bundler/dsl_spec.rb')
-rw-r--r-- | spec/bundler/dsl_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/bundler/dsl_spec.rb b/spec/bundler/dsl_spec.rb index 2397055826..714fcaa919 100644 --- a/spec/bundler/dsl_spec.rb +++ b/spec/bundler/dsl_spec.rb @@ -16,9 +16,9 @@ describe Bundler::Dsl do end it "raises exception on invalid hostname" do - expect { + expect do subject.git_source(:group) {|repo_name| "git@git.example.com:#{repo_name}.git" } - }.to raise_error(Bundler::InvalidOption) + end.to raise_error(Bundler::InvalidOption) end it "expects block passed" do @@ -186,7 +186,7 @@ describe Bundler::Dsl do # end describe "#git" do it "from a single repo" do - rails_gems = %w[railties action_pack active_model] + rails_gems = %w(railties action_pack active_model) subject.git "https://github.com/rails/rails.git" do rails_gems.each {|rails_gem| subject.send :gem, rails_gem } end @@ -201,7 +201,7 @@ describe Bundler::Dsl do # end describe "#github" do it "from github" do - spree_gems = %w[spree_core spree_api spree_backend] + spree_gems = %w(spree_core spree_api spree_backend) subject.github "spree" do spree_gems.each {|spree_gem| subject.send :gem, spree_gem } end |