diff options
author | Ashley Penney <ashley.penney@puppetlabs.com> | 2014-05-01 18:56:29 -0400 |
---|---|---|
committer | Ashley Penney <ashley.penney@puppetlabs.com> | 2014-05-01 18:56:29 -0400 |
commit | 143a0078b01fdde118b19e89486b96644f1d5d7e (patch) | |
tree | 6bc2e63858bbbd2ce77c0d32bc35013c8b157888 /spec/acceptance/size_spec.rb | |
parent | f8bfe46bbfa4a4737cef9a20cfe1bed04aee4bdc (diff) | |
parent | 80590a9bfe2a8c0d288125d17cfb9f01c8563a7a (diff) |
Merge pull request #244 from hunner/add_tests
Add more specs
Diffstat (limited to 'spec/acceptance/size_spec.rb')
-rw-r--r-- | spec/acceptance/size_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/acceptance/size_spec.rb b/spec/acceptance/size_spec.rb index 2aacf0b..d79140e 100644 --- a/spec/acceptance/size_spec.rb +++ b/spec/acceptance/size_spec.rb @@ -5,7 +5,7 @@ describe 'size function', :unless => UNSUPPORTED_PLATFORMS.include?(fact('operat it 'single string size' do pp = <<-EOS $a = 'discombobulate' - $o =size($a) + $o = size($a) notice(inline_template('size is <%= @o.inspect %>')) EOS @@ -16,7 +16,7 @@ describe 'size function', :unless => UNSUPPORTED_PLATFORMS.include?(fact('operat it 'with empty string' do pp = <<-EOS $a = '' - $o =size($a) + $o = size($a) notice(inline_template('size is <%= @o.inspect %>')) EOS @@ -27,7 +27,7 @@ describe 'size function', :unless => UNSUPPORTED_PLATFORMS.include?(fact('operat it 'with undef' do pp = <<-EOS $a = undef - $o =size($a) + $o = size($a) notice(inline_template('size is <%= @o.inspect %>')) EOS @@ -38,7 +38,7 @@ describe 'size function', :unless => UNSUPPORTED_PLATFORMS.include?(fact('operat it 'strings in array' do pp = <<-EOS $a = ['discombobulate', 'moo'] - $o =size($a) + $o = size($a) notice(inline_template('size is <%= @o.inspect %>')) EOS |