You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by do...@apache.org on 2018/11/18 22:22:42 UTC
[6/8] buildr git commit: RSpec it_should_behave_like takes a String
RSpec it_should_behave_like takes a String
Project: http://git-wip-us.apache.org/repos/asf/buildr/repo
Commit: http://git-wip-us.apache.org/repos/asf/buildr/commit/96893f4a
Tree: http://git-wip-us.apache.org/repos/asf/buildr/tree/96893f4a
Diff: http://git-wip-us.apache.org/repos/asf/buildr/diff/96893f4a
Branch: refs/heads/master
Commit: 96893f4a4037cb3015c4c4a7c6f9996fa379600f
Parents: 70aa273
Author: Olle Jonsson <ol...@gmail.com>
Authored: Sat Nov 17 23:07:19 2018 +0100
Committer: Olle Jonsson <ol...@gmail.com>
Committed: Sat Nov 17 23:07:19 2018 +0100
----------------------------------------------------------------------
spec/kotlin/compiler_spec.rb | 8 ++++----
spec/scala/compiler_spec.rb | 10 +++++-----
2 files changed, 9 insertions(+), 9 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/buildr/blob/96893f4a/spec/kotlin/compiler_spec.rb
----------------------------------------------------------------------
diff --git a/spec/kotlin/compiler_spec.rb b/spec/kotlin/compiler_spec.rb
index aa2f1c1..5d27884 100644
--- a/spec/kotlin/compiler_spec.rb
+++ b/spec/kotlin/compiler_spec.rb
@@ -240,8 +240,8 @@ if Java.java.lang.System.getProperty("java.runtime.version") >= "1.8"
@compile_task ||= define('foo').compile.using(:kotlinc)
end
- it_should_behave_like KotlincCompiler
- it_should_behave_like KotlincCompiler_CommonOptions
+ it_should_behave_like 'KotlincCompiler'
+ it_should_behave_like 'KotlincCompiler_CommonOptions'
end
end
@@ -264,8 +264,8 @@ if Java.java.lang.System.getProperty("java.runtime.version") >= "1.8"
compile_task.instance_eval { @compiler }.send(:kotlinc_args)
end
- it_should_behave_like KotlincCompiler
- it_should_behave_like KotlincCompiler_CommonOptions
+ it_should_behave_like 'KotlincCompiler'
+ it_should_behave_like 'KotlincCompiler_CommonOptions'
after :all do
ENV['KOTLIN_HOME'] = old_home
http://git-wip-us.apache.org/repos/asf/buildr/blob/96893f4a/spec/scala/compiler_spec.rb
----------------------------------------------------------------------
diff --git a/spec/scala/compiler_spec.rb b/spec/scala/compiler_spec.rb
index a76608d..3903581 100644
--- a/spec/scala/compiler_spec.rb
+++ b/spec/scala/compiler_spec.rb
@@ -118,7 +118,7 @@ if ENV['SCALA_HOME']
ENV['SCALA_HOME'].should_not be_nil
end
- it_should_behave_like ScalacCompiler
+ it_should_behave_like 'ScalacCompiler'
end
end
@@ -133,7 +133,7 @@ describe 'scala compiler (downloaded from repository)' do
ENV['SCALA_HOME'].should be_nil
end
- it_should_behave_like ScalacCompiler
+ it_should_behave_like 'ScalacCompiler'
after :all do
ENV['SCALA_HOME'] = old_home
@@ -275,7 +275,7 @@ end
describe 'scala compiler 2.8 options' do
- it_should_behave_like ScalacCompiler_CommonOptions
+ it_should_behave_like 'ScalacCompiler_CommonOptions'
def compile_task
@compile_task ||= define('foo').compile.using(:scalac)
@@ -298,7 +298,7 @@ end if Buildr::Scala.version?(2.8)
describe 'scala compiler 2.9 options' do
- it_should_behave_like ScalacCompiler_CommonOptions
+ it_should_behave_like 'ScalacCompiler_CommonOptions'
def compile_task
@compile_task ||= define('foo').compile.using(:scalac)
@@ -345,7 +345,7 @@ describe 'zinc compiler (enabled through Buildr.settings)' do
compile_task.invoke
end
- it_should_behave_like ScalacCompiler
+ it_should_behave_like 'ScalacCompiler'
after :each do
Buildr.settings.build['scalac.incremental'] = nil