File: raw_string_spec.rb

package info (click to toggle)
ruby-rspec-puppet 4.0.2%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,444 kB
  • sloc: ruby: 6,377; makefile: 6
file content (11 lines) | stat: -rw-r--r-- 285 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

require 'rspec-puppet/raw_string'

describe RSpec::Puppet::RawString do
  describe '#inspect' do
    it 'returns the raw string when doing an inspect' do
      expect(described_class.new('my_raw_string').inspect).to eq('my_raw_string')
    end
  end
end