diff options
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 |