debian/bullseye
debian/jessie
|
Last change
on this file since 469b97a was 1c22429, checked in by Joachim Langenbach <joachim.langenbach@…>, 10 years ago |
- gnuboat_epd adds the apt repository from gnuboat to install epd-fuse package
|
-
Property mode
set to
100755
|
|
File size:
809 bytes
|
| Line | |
|---|
| 1 | require 'spec_helper'
|
|---|
| 2 |
|
|---|
| 3 | describe "any2array" do
|
|---|
| 4 | it { is_expected.not_to eq(nil) }
|
|---|
| 5 | it { is_expected.to run.with_params().and_return([]) }
|
|---|
| 6 | it { is_expected.to run.with_params(true).and_return([true]) }
|
|---|
| 7 | it { is_expected.to run.with_params('one').and_return(['one']) }
|
|---|
| 8 | it { is_expected.to run.with_params('one', 'two').and_return(['one', 'two']) }
|
|---|
| 9 | it { is_expected.to run.with_params([]).and_return([]) }
|
|---|
| 10 | it { is_expected.to run.with_params(['one']).and_return(['one']) }
|
|---|
| 11 | it { is_expected.to run.with_params(['one', 'two']).and_return(['one', 'two']) }
|
|---|
| 12 | it { is_expected.to run.with_params({}).and_return([]) }
|
|---|
| 13 | it { is_expected.to run.with_params({ 'key' => 'value' }).and_return(['key', 'value']) }
|
|---|
| 14 | it { is_expected.to run.with_params({ 'key' => 'value' }).and_return(['key', 'value']) }
|
|---|
| 15 | end
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.