We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69292a8 commit 6e00ff4Copy full SHA for 6e00ff4
spec/functions/type_of_spec.rb
@@ -1,12 +1,6 @@
1
require 'spec_helper'
2
3
-if ENV["FUTURE_PARSER"] == 'yes'
4
- describe 'type_of' do
5
- pending 'teach rspec-puppet to load future-only functions under 3.7.5'
6
- end
7
-end
8
-
9
-if Puppet.version.to_f >= 4.0
+if Puppet.version.to_f >= 4.0 or ENV["FUTURE_PARSER"] == 'yes'
10
describe 'type_of' do
11
it { is_expected.not_to eq(nil) }
12
it { is_expected.to run.with_params().and_raise_error(ArgumentError) }
0 commit comments