Permalink
Browse files

Merge pull request #56 from LiNk-NY/master

update r_spec.rb with bioc_check, closes #55
  • Loading branch information...
joecorcoran committed Jul 3, 2018
2 parents 4fbe563 + e0e2ee2 commit 3eca71e0897add7bffc5f10315b0142b792d7097
@@ -20,6 +20,7 @@ def define
map :brew_packages, to: :seq
map :bioc, to: :str # test
map :bioc_check, to: :bool
map :bioc_required, to: :bool, alias: :use_bioc
map :bioc_use_devel, to: :bool
map :cran, to: :str
@@ -13,6 +13,7 @@
apt_packages: 'package',
bioc_packages: 'package',
brew_packages: 'package',
bioc_check: true,
bioc_required: true,
bioc_use_devel: true,
cran: 'https://cloud.r-project.org',
@@ -38,6 +39,7 @@
it { expect(config[:r_binary_packages]).to eq ['package'] }
it { expect(config[:r_github_packages]).to eq ['package'] }
it { expect(config[:r_packages]).to eq ['package'] }
it { expect(config[:bioc_check]).to eq true }
it { expect(config[:bioc_required]).to eq true }
it { expect(config[:bioc_use_devel]).to eq true }
it { expect(config[:cran]).to eq 'https://cloud.r-project.org' }
@@ -5,6 +5,7 @@
let(:r) { support[:map][:r][:types][0] }
let(:apt_packages) { support[:map][:apt_packages][:types][0] }
let(:bioc_check) { support[:map][:bioc_check][:types][0] }
let(:bioc_packages) { support[:map][:bioc_packages][:types][0] }
let(:bioc_required) { support[:map][:bioc_required][:types][0] }
let(:bioc_use_devel) { support[:map][:bioc_use_devel][:types][0] }
@@ -27,6 +28,7 @@
it { expect(lang[:values]).to include(value: 'r') }
it { expect(r[:only][:language]).to include('r') }
it { expect(apt_packages[:only][:language]).to include('r') }
it { expect(bioc_check[:only][:language]).to include('r') }
it { expect(bioc_packages[:only][:language]).to include('r') }
it { expect(bioc_required[:only][:language]).to include('r') }
it { expect(bioc_use_devel[:only][:language]).to include('r') }

0 comments on commit 3eca71e

Please sign in to comment.