Skip to content

Commit

Permalink
Fix Ruby 1.9.3 build
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsyweb committed Nov 8, 2014
1 parent efeb174 commit 3e46c13
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spec/unit/puppet/util/ini_file_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -249,16 +249,16 @@
let(:sample_content) do
template = <<-EOS
[Drive names]
A:=5¼" Floppy
B:=3½" Floppy
A:=5.25" Floppy
B:=3.5" Floppy
C:=Winchester
EOS
template.split("\n")
end

it "should expose settings for sections" do
subject.get_value("Drive names", "A:").should eq '5¼" Floppy'
subject.get_value("Drive names", "B:").should eq '3½" Floppy'
subject.get_value("Drive names", "A:").should eq '5.25" Floppy'
subject.get_value("Drive names", "B:").should eq '3.5" Floppy'
subject.get_value("Drive names", "C:").should eq 'Winchester'
end
end
Expand Down

0 comments on commit 3e46c13

Please sign in to comment.