File: raw_string_spec.rb

package info (click to toggle)
ruby-rspec-puppet 2.9.0%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,416 kB
  • sloc: ruby: 6,661; makefile: 6
file content (11 lines) | stat: -rw-r--r-- 279 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
require 'spec_helper_unit'

describe RSpec::Puppet::RawString do
  subject(:raw_string) { described_class.new('some string') }

  describe '#inspect' do
    it 'returns an unquoted version of the string' do
      expect(raw_string.inspect).to eq('some string')
    end
  end
end